Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cursor position after line break

Former Member
0 Likes
2,214

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

5 REPLIES 5
Read only

ChristianGnter
Contributor
2,109

Same issue here. Interestingly it works for further lines in the chained data declaration.

Regards Christian

Read only

0 Likes
2,109

Christian,

that's probably because the editor simply places the cursor in the column where the previous line's content starts.

Regards

  Volker

Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
2,109

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.

Read only

0 Likes
2,109

yes, obviously.

Regards,

Christian

Read only

JaySchwendemann
Active Contributor
0 Likes
2,109

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