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

ABAP ADT: Add pattern for comment line

thkolz
Contributor
0 Likes
6,394

Hi there,


just switching to ABAP ADT development.


One thing that really bothers me (although it's a small detail):

In SE80 I was used to add comment lines like

*--------------------------------------------------------------------*

But now in ADT the code completion just gives me

**********************************************************************

Can I somehow add the SE80 comment line template into ADT?

Thanks in advance!

Best regards,

Thorsten.

1 ACCEPTED SOLUTION
Read only

thkolz
Contributor
0 Likes
4,604

Ok, now I've understood the concept:

If I name a template commentLine, I can using it by typing e.g. 'com' and press CTRL+Space.

I thought that I could use '*--' and then press CTRL+Space.

So actually you need to know the template name in order to use it.

Hi there,


just switching to ABAP ADT development.


One thing that really bothers me (although it's a small detail):

In SE80 I was used to add comment lines like

*--------------------------------------------------------------------*

But now in ADT the code completion just gives me

**********************************************************************

Can I somehow add the SE80 comment line template into ADT?

Thanks in advance!

Best regards,

Thorsten.

4 REPLIES 4
Read only

Florian
SAP Champion
SAP Champion
4,604

You can just create an own Template.

Go to Preferences and search for Templates:

Read only

thkolz
Contributor
0 Likes
4,604

Hi Florian,

I've already tried that.

But what do I need to put as a pattern?

I've tried *---------------------------------------------------------------------

but it doesn't propose me something when I type *-

Best regards!

Read only

thkolz
Contributor
0 Likes
4,605

Ok, now I've understood the concept:

If I name a template commentLine, I can using it by typing e.g. 'com' and press CTRL+Space.

I thought that I could use '*--' and then press CTRL+Space.

So actually you need to know the template name in order to use it.

Read only

0 Likes
4,604

Hi

Use CTRL + 7 and then try to draw line as you like. it will comment the line first and then you can draw a line later on. that's an easy way .

Regards

Sri Ram