Hello,
either I have missed how to do this, or I have a suggestion.
I really like Notepad++ it's just one thing bothering me. At my company we use notepad++ for both c++ and python, the thing is that in c++ we use tab indents 3 spaces but in python we use 4 spaces...
The right thing to do is of course to edit the files to match, but that ain't going happen... So it would be great to add an optional property to the langs.model.xml file so that could be language spec.
//Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is the issue I came here to mention as well. In my case it's Ruby with its 2-space tab convention that's the fly in the ointment. This does seem like something that should be configurable by language in some way, although I can definitely see the need for a global option as well.
You know, one thing the languages with tab conventions seem to share is a preference for spaces over tables. Maybe this issue could be addressed by simply allowing Notepad++ to conform its behavior to the conventions actually in use in the current file. If the current file seems to use 3-space tabs, then new tabs are at 3-space intervals, etc.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
either I have missed how to do this, or I have a suggestion.
I really like Notepad++ it's just one thing bothering me. At my company we use notepad++ for both c++ and python, the thing is that in c++ we use tab indents 3 spaces but in python we use 4 spaces...
The right thing to do is of course to edit the files to match, but that ain't going happen... So it would be great to add an optional property to the langs.model.xml file so that could be language spec.
//Markus
This is the issue I came here to mention as well. In my case it's Ruby with its 2-space tab convention that's the fly in the ointment. This does seem like something that should be configurable by language in some way, although I can definitely see the need for a global option as well.
You know, one thing the languages with tab conventions seem to share is a preference for spaces over tables. Maybe this issue could be addressed by simply allowing Notepad++ to conform its behavior to the conventions actually in use in the current file. If the current file seems to use 3-space tabs, then new tabs are at 3-space intervals, etc.
In the release v5.5, the Tab size will be customizable for per language.
Don
Hooray! This is a big boost! With this, I can easily work with both Python and SQL scripts in the same editor.
Great news!