When using indenting as tabs, if I go down a line to an indent and start typing, I should get tabs to that point.
The editor is not smart enough to realize that I have the option 'indent with tabs' on and creates a whole bunch of spaces instead.
If I only want to indent with tabs, why does it create all these spaces?
It's frustrating and annoying to have to keep going back and converting these spaces to tabs.
It would be nice if the editor would actually pay more attention to my preferences and insert the appropriate amount of tabs, then spaces if needed, to match my position.
- Code: Select all
function foo() {
//This line was auto indented correctly, I added it first. I hit enter 5 times
//Up here, I matched the indent and started typing. Note the spaces, not tabs
//This line's a mix of tabs and spaces, I went down to the indent and hit tab
//I added this line next, it auto indented correctly. I will now go up 3 lines
}
The code block above doesn't translate it too well, but you can see the line I added by moving the cursor up a position then typing added in the line with spaces.
I can send also picture.