using editor temples do not indent proberly [message #1785188] |
Tue, 10 April 2018 12:33  |
Eclipse User |
|
|
|
I am using editor templates plus ctrl + space, but placing the template is with form indent according to start of the command.
ex.
somefunction()
{
do // ctrl + space will do
{
// start of code
} while();
}
// but would Like it to do (and has been working before)
somefunction()
{
do // ctrl + space will do
{
//start of code
} while();
}
|
|
|
Re: using editor temples do not indent proberly [message #1785252 is a reply to message #1785188] |
Wed, 11 April 2018 14:52  |
Eclipse User |
|
|
|
Works OK in CDT 9.4.3
If it worked before but now doesn't then examine what you've done recently.
Verify : Window --> Preferences --> Editor --> Typing --> Adjust Indentation is checked.
Also: Window --> Preferences --> Editor --> Typing --> Tab Key adjusts ... current line
And: Window --> Preferences --> Editor --> Typing --> Newlines and braces
Other than that, your guess is as good as mine.
|
|
|
Powered by
FUDForum. Page generated in 0.03009 seconds