Apr-15-2024, 01:29 PM
Folks,
Is there a way to make the tab key (on the keyboard) work like a tab key? I like to use it to tab over 8 spaces or so per key-hit to align my comments. It seems though that if my preferences are set to "tab always indent" that a tab causes the line of code to indent. If that is not set a single tab before a comment (a comment after a line of code) indents the comment one space, a second tab calls up a context-sensitive menu.
And (strangely to me) if "tab always indent" is set, the line of code that is indented then gets the error message "unexpected indent". If I delete the tab and use two spaces, the error goes away.
I know I'm missing something basic.
Jack
Is there a way to make the tab key (on the keyboard) work like a tab key? I like to use it to tab over 8 spaces or so per key-hit to align my comments. It seems though that if my preferences are set to "tab always indent" that a tab causes the line of code to indent. If that is not set a single tab before a comment (a comment after a line of code) indents the comment one space, a second tab calls up a context-sensitive menu.
And (strangely to me) if "tab always indent" is set, the line of code that is indented then gets the error message "unexpected indent". If I delete the tab and use two spaces, the error goes away.
I know I'm missing something basic.
Jack