- Recall Indent
- Remember your indentation choices by file or language
- 48 Installs
Recall Indent remembers your indentation choices on a per-file or per-language basis.
Run the command "Remember Indentation", and it will remember your indentation choice. There are two commands: one to set the default for all files of the current language, and another to remember just for the current file.
When a file is opened, Recall Indent automatically sets indentation based on its memory. If it's ever wrong, you can fix the indentation and run the Remember Indent command, so it will stay fixed the next time you open that file.
This is a feature I missed from TextMate, where if automatic indentation was ever incorrect, I only needed to fix it once per file, and it would remember my choice and be fine forever more.
Nova's automatic indentation appears to be very buggy (as of 9.4), regularly getting illogical indents like 3 characters due to indentation in a list in a Python docstring.
Copyright (c) 2022 Min RK
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.