Removes trailing spaces on before save from notebook cells and editors.
It can move cursors and selections to the expected place after space removal. It supports multicursors and multi selections.
- JupyterLab
jupyter labextension install @wallneradam/trailing_space_remover
For a development install (requires npm version 4 or later), do the following in the repository directory:
npm install
npm run build
jupyter labextension link .
To rebuild the package and the JupyterLab app:
npm run build
jupyter lab build