 mark42
Member
|
Perhaps this is right under my nose and I’m just not seeing it, but does PN have the capability of setting indentation/tab width by language? Python’s convention is 4 spaces per tab/indentation level, but most other languages that we use here have in-house convention of 2 spaces per indent. As far as I can tell, to change this I’d have to go to Tools -> Options -> General -> Defaults and change the global setting every time I switch between files.
If PN does not have this language-specific option and if it’s not a feature likely to be added, would it be possible to have menu subitem for quickly changing the global setting? I’m thinking of SciTE here, in which there is "Change Indentation Settings…" under Tools.
|
 simon
Key Master
|
Sorry, not currently a per-language option, but there is another way to change it:
Alt-Enter, Tab x 3, 2, Enter
There’s an open feature request to make this per-language override possible, which will definitely be done at some point in the near future!
|
 castorp
Member
|
I second that, it would be greate to control all tab related settings per language/scheme
|
 Steef
Member
|
When is this to be implemented ?
|