Whether you have 'tab to spaces' checked or not, the IDE always converts tabs to spaces and left-arrow, right-arrow moves one space at a time instead of 1 tab at a time.
The layout of code in the IDEs is practically impossible to get right.
I have tab width set to 4, and tabs to spaces NOT checked, and yet the first tab does 4 spaces (and inserts spaces) and the next tab adds 8 spaces not 4.
I find I spend more time fighting with the IDE layout that writing code.
BUG - Ide options ignores 'tab to spaces' option
-
- Posts: 6
- Joined: 23 Jan 2012 13:44
Re: BUG - Ide options ignores 'tab to spaces' option
Some more information....
So yesterday I spent ages going through all the IDE options and Advanced Options trying to get the ide to work in a sensible way.
I had my code looking great, and TAB was doing what you'd expect. However left/right arrow still move 1 column at a time, even over tabs - which is annoying and then...
1. If I TAB indent a line, and then the auto parameters popup appears, it un-indents my line!
2. Cursor doesn't go to the end of the line if I click past it - all white space is clickable - how do I turn that off?
and most annoyingly 3. I had my code looking great, I open it up today and all the layout is scrambled again!!!
So yesterday I spent ages going through all the IDE options and Advanced Options trying to get the ide to work in a sensible way.
I had my code looking great, and TAB was doing what you'd expect. However left/right arrow still move 1 column at a time, even over tabs - which is annoying and then...
1. If I TAB indent a line, and then the auto parameters popup appears, it un-indents my line!
2. Cursor doesn't go to the end of the line if I click past it - all white space is clickable - how do I turn that off?
and most annoyingly 3. I had my code looking great, I open it up today and all the layout is scrambled again!!!
Re: BUG - Ide options ignores 'tab to spaces' option
Hi,
Regarding your first post, did you tweak the Smart Tabs and Tabs to spaces options in the IDE ?
As for the second post :
Regards,
Filip.
Regarding your first post, did you tweak the Smart Tabs and Tabs to spaces options in the IDE ?
As for the second post :
You press a tab (indent the line) and then press Ctrl + Space and the indentation gets back to the initial position ?1. If I TAB indent a line, and then the auto parameters popup appears, it un-indents my line!
Uncheck Scroll Past End Of Line options in the Advanced Options of the Editor Settings.2. Cursor doesn't go to the end of the line if I click past it - all white space is clickable - how do I turn that off?
Did you change any of the Editor Settings in the meantime or edited the file in some external text editor ?3. I had my code looking great, I open it up today and all the layout is scrambled again!!!
Regards,
Filip.