Page 1 of 1

IDE Preferences - [±] Disable auto comment indentation.

Posted: Wed Oct 22, 2014 9:00 pm
by skywalk
I noticed the new auto indenting of comments is "built-in" but not producing the look I prefer.
For long lines, I have comments now that extend way too far to the right.
I really liked the old way.
Please add the option to disable this feature.
IDE Preferences - [x] Disable auto comment indentation.

Thanks.

Re: IDE Preferences - [±] Disable auto comment indentation.

Posted: Mon Dec 07, 2015 5:30 pm
by skywalk
Any chance to add this to preferences via keywords?
I cannot control the placement of my comments and still use auto-indentation.
This is really frustrating.

Re: IDE Preferences - [±] Disable auto comment indentation.

Posted: Mon Feb 20, 2017 12:40 am
by skywalk
Ok, my annual plea to make indenting comments optional :(
I really appreciate auto indentation with keywords, but not spread out comments?
This is a small example, but comments get crazy if I dare to put a trailing comment on a long procedure or macro.
Example of compact view before autoindent.

Code: Select all

Structure MyStruct_with_really_long_name ;- MyStruct_with_really_long_name
  a.i     ; Something
  b.i     ; Something
  c.i     ; Something
  d.i     ; Something
  ; New set of comments left justified!!
  aa.i    ; Something else
  bb.i    ; Something else
  cc.i    ; Something else
  dd.i    ; Something else
EndStructure

Structure MyStruct ;- MyStruct
  a.i     ; Something
  b.i     ; Something
  c.i     ; Something
  d.i     ; Something
  ; New set of comments left justified!!
  aa.i    ; Something else
  bb.i    ; Something else
  cc.i    ; Something else
  dd.i    ; Something else
EndStructure
After autoindent.

Code: Select all

Structure MyStruct_with_really_long_name ;- MyStruct_with_really_long_name
  a.i                                    ; Something
  b.i                                    ; Something
  c.i                                    ; Something
  d.i                                    ; Something
                                         ; New set of comments left justified!!
  aa.i                                   ; Something else
  bb.i                                   ; Something else
  cc.i                                   ; Something else
  dd.i                                   ; Something else
EndStructure
Structure MyStruct ;- MyStruct
  a.i              ; Something
  b.i              ; Something
  c.i              ; Something
  d.i              ; Something
                   ; New set of comments left justified!!
  aa.i             ; Something else
  bb.i             ; Something else
  cc.i             ; Something else
  dd.i             ; Something else
EndStructure

Re: IDE Preferences - [±] Disable auto comment indentation.

Posted: Mon Feb 20, 2017 2:58 am
by Dude
I agree that indenting comments should be optional, because they are not keywords or commands, and they need to STAY the way we specifically write them... after all, that's what a comment's job is! :) If I want a line of comments (such as a table) to say at column 1 of the IDE, then it should stay there, and not get moved or indented.

Re: IDE Preferences - [±] Disable auto comment indentation.

Posted: Mon Feb 20, 2017 10:57 am
by IdeasVacuum
+1 make it an option

Re: IDE Preferences - [±] Disable auto comment indentation.

Posted: Mon Feb 20, 2017 10:57 am
by Bisonte
+1 I agree. Sometimes it's really irritating. But sometimes you need it....

Re: IDE Preferences - [±] Disable auto comment indentation.

Posted: Mon Feb 20, 2017 5:33 pm
by uwekel
+1