It would be nice that the option to convert tabs to spaces could be less "General" as it is now ( its in "Settings/Preferences/MISC" menu a it affects all languages you can work on...) and could be configured in a more "Language specific" basis. For example: in Python we should convert hard tabs to spaces to have the code correctly indented and thats what I always do, but in PHP or C++ I like and prefer not to uses spaces but real tabs instead!... And it is not that comfortable having to change that option all the time.
Anyway, a wonderful application! By far, my favorite programming text editor and viewer!
Thanks.
Paulo Oliveira,
Portugal.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are right, it´s not that difficult to replace the tab with spaces... but there is always one time that we forget!... and there is another error when executing the Python script!!
Of course the tabs/spaces option is very useful, but to me, for example, it would be nice to have an extra option where I could override the global tab/spaces option. That way, as I code many times in PHP and C++ and some other scripts, I could leave the " replace Tabs to Spaces" option unchecked, because thats the way I prefer with those scripts, but I could override that option for a Python script and force the "tabs to spaces" conversion. It didn't necessarily would make the App less user friendly. That option could be located in the same box where the the "convert Tabs to Spaces" option is, just bellow it, and could be for example: " X - Always convert Tabs to Spaces for the selected languages" ... click ... and select the languages you want!
Of course this is not a major issue!... Not even a small one.
Its just my personal opinion in something that I thing would help me to be a bit faster and that would help avoiding those errors when I switch the language I work with, most of them because I forgot to chage the tabs option.
Paulo Oliveira,
Portugal
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would ALWAYS like my tabs to remain tabs. Therefor, you suggest, I set this behavior for ANY language I am working in... That isn't user friendly.
I suggest you simple replace all your tabs by spaces by using the replace dialog or the Simple Script Plug-In. You will only have to do it once for every file or (before) every save.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Better Hard Tabs/Spaces conversion feature.
It would be nice that the option to convert tabs to spaces could be less "General" as it is now ( its in "Settings/Preferences/MISC" menu a it affects all languages you can work on...) and could be configured in a more "Language specific" basis. For example: in Python we should convert hard tabs to spaces to have the code correctly indented and thats what I always do, but in PHP or C++ I like and prefer not to uses spaces but real tabs instead!... And it is not that comfortable having to change that option all the time.
Anyway, a wonderful application! By far, my favorite programming text editor and viewer!
Thanks.
Paulo Oliveira,
Portugal.
You are right, it´s not that difficult to replace the tab with spaces... but there is always one time that we forget!... and there is another error when executing the Python script!!
Of course the tabs/spaces option is very useful, but to me, for example, it would be nice to have an extra option where I could override the global tab/spaces option. That way, as I code many times in PHP and C++ and some other scripts, I could leave the " replace Tabs to Spaces" option unchecked, because thats the way I prefer with those scripts, but I could override that option for a Python script and force the "tabs to spaces" conversion. It didn't necessarily would make the App less user friendly. That option could be located in the same box where the the "convert Tabs to Spaces" option is, just bellow it, and could be for example: " X - Always convert Tabs to Spaces for the selected languages" ... click ... and select the languages you want!
Of course this is not a major issue!... Not even a small one.
Its just my personal opinion in something that I thing would help me to be a bit faster and that would help avoiding those errors when I switch the language I work with, most of them because I forgot to chage the tabs option.
Paulo Oliveira,
Portugal
I would ALWAYS like my tabs to remain tabs. Therefor, you suggest, I set this behavior for ANY language I am working in... That isn't user friendly.
I suggest you simple replace all your tabs by spaces by using the replace dialog or the Simple Script Plug-In. You will only have to do it once for every file or (before) every save.