2014 Nov 18 8:50 PM
Hello,
I'm rather used to using chained statements, for example for variable declarations. In the classic ABAP editor, after pressing Enter, the cursor is positioned so that I can immediately continue the list of declarations. In the ADT ABAP editor, the cursor returns to the beginning of the line, only respecting the current indentation. This is a screenshot of where the cursor ends up and where I actually expected it to be:
I haven't found a setting to change this behaviour - have I overlooked something?
Thanks
Volker Wegert
Hello,
I'm rather used to using chained statements, for example for variable declarations. In the classic ABAP editor, after pressing Enter, the cursor is positioned so that I can immediately continue the list of declarations. In the ADT ABAP editor, the cursor returns to the beginning of the line, only respecting the current indentation. This is a screenshot of where the cursor ends up and where I actually expected it to be:
I haven't found a setting to change this behaviour - have I overlooked something?
Thanks
Volker Wegert
2014 Nov 19 7:26 AM
Same issue here. Interestingly it works for further lines in the chained data declaration.
Regards Christian
2014 Nov 19 7:34 AM
Christian,
that's probably because the editor simply places the cursor in the column where the previous line's content starts.
Regards
Volker
2014 Nov 19 8:22 AM
Hi Volker,
looks like this is the eclipse standard behavior. We will have a look into the editor framework to check whether we can include an improved intendation logic.
Regards,
Thomas.
2014 Nov 19 8:35 AM
2022 Apr 08 8:14 PM
This has indeed improved somewhat in the course of 7 years.
It works as designed when continuing typing after the chained data declaration then hitting return

It however it does not work when directly hitting return after the chained data declaration, forcing the cursor to a position where it would (should) be, if I had continued typing after the chained data declaration.

In the latter case I would love to see the cursor placed (ideally) the default tab width indendet below the chained data declaration

Cheers
Jens
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |