You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the tab button returns a literal tab character. In most editors there is an option to convert a tab in to a number of spaces. White space indenting is important for e.g. Python, Nim, Haskell etc. Having to type 4 spaces is cumbersome, but I could not find an option to change it.
Describe the solution you'd like
Solution
An option for choosing the indentation character: Tab or Space
An option for setting the amount of spaces when indenting with the Tab key
SciTE
In SciTE you can change the SciTEUser.properties file and insert:
tabsize=4 # Sets the width of a tab character to 4 spaces
indent.size=4 # Sets the indentation size to 4 spaces
use.tabs=0 # Ensures that pressing the Tab key inserts spaces instead of tab characters
Language specific settings, e.g. for Python, are set in a python.properties file.
Description
Currently the tab button returns a literal tab character. In most editors there is an option to convert a tab in to a number of spaces. White space indenting is important for e.g. Python, Nim, Haskell etc. Having to type 4 spaces is cumbersome, but I could not find an option to change it.
Describe the solution you'd like
Solution
Scintilla
The documentation for the Scintilla editor for indentation are here: https://www.scintilla.org/ScintillaDox.html#TabsAndIndentationGuides
SciTE
In SciTE you can change the SciTEUser.properties file and insert:
Language specific settings, e.g. for Python, are set in a python.properties file.
NotepadNext
For NotepadNext in
src/scintilla/.editorconfig
is set on line 4: indent_style = tabI don't know how NotepadNext handles and stores preferences under "setting > preferences".
Notepad++
This is the Notepad++ setting for indentation:
Describe alternatives you've considered
Macro feature, but that does not work sufficiently.
The text was updated successfully, but these errors were encountered: