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

about pretty printer

Former Member
0 Likes
18,011

how to use pretty printer.

thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
8,357

After writing the program, press <b>Shift+F1</b> or the <b>Pretty Printer button</b> which is available on the top..

It will automatically align the code as per Pretty Printer settings...

Regards,

Pavan.

6 REPLIES 6
Read only

Former Member
0 Likes
8,357

Hi,

After completing your code then press pretty printer. It will arrenge the code neetly.

Regards,

Bhaskar

Read only

Former Member
0 Likes
8,358

After writing the program, press <b>Shift+F1</b> or the <b>Pretty Printer button</b> which is available on the top..

It will automatically align the code as per Pretty Printer settings...

Regards,

Pavan.

Read only

Former Member
8,357

Hi Anshu,

Please do it in change mode. The pretty print will work in display mode also but the changes will not get saved.

Once you change, save and activate without fail.

Regards,

Yogesh

Read only

Former Member
0 Likes
8,357

Hi Anshu,

Pretty Printer is used to align your code properly with indentation and with case.

You can do pretty printer only for active objects.

Press Shift+F1 or Pretty Printer button.

You can see the possible options for pretty printer in the menu path Utilities -> Settings -> ABAP Editor tab -> Pretty Printer tab.

<b>Frinedly Note:</b> You have many open threads. Plz close the threads if they are solved/answered. Mark all helpufl answers.

Thanks,

Vinay

Read only

Former Member
8,357

Hey Hi,

One more point, you can also configure the pretty printer settings :

Go to utilities -> settings - > abap editor -> pretty printer.

Here you can change the settings according to ur wish.

Regards,

SJ

Read only

Former Member
0 Likes
8,357

Hi

when your writing the code in SE38

Goto Utilities -> settings -> prettyprinter

what ever settings you want you can change there

after clickong on ok

on application bar you will find one button Pretty Printer

click on that to apply ur settings to your code

reward if useful