Application Development 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: 

ABAP ADT: Add pattern for comment line

thkolz
Contributor
0 Kudos

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

thkolz
Contributor
0 Kudos

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.

4 REPLIES 4

Florian
Active Contributor

You can just create an own Template.

Go to Preferences and search for Templates:

thkolz
Contributor
0 Kudos

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!

thkolz
Contributor
0 Kudos

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.

0 Kudos

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