There are improvements coming to the Python Editor, some have already been merged and other are on the way.
Already merged:
- Line numbers
- Undo/Redo support
- Faster syntax highlighting
- Access via the Tools menu
- All around fixes
In developpements:
- Multitab support
- Autosave and autosave recovery
- Adding the concept of Programmable Scripts, similar to the way Macros are handled
Regarding the last two points, I want to make sure that our proposition is fitting with as many usecases as possible.
Autosave and autosave recovery
in .config/ParaView, a new directory is added (SwapFiles?) where the python editor can write temporary files whenever a file change. If the file is saved, the temp file is removed. The temp file name is unique to the path of the file. If ParaView crashes for some reason, the file can be recovered when opening the file OR when opening the editor (suggestions?).
Programmable Scripts
in .config/ParaView, a new directory is added (ProgrammableScripts?) which is here to contains python scripts to be used in the different Programmable Filters in ParaView. The python editor will know when such a scripts is edited and will tag it accordingly. It will be made easy for user to use the available programmable scripts in their programmable filters.
This last part is not completely fleshed out, but if you have any inputs or concers, please let us know.