Skip to Content
Author's profile photo Thomas Fiedler

Where to hell is the Pretty Printer ?

You already discovered that the good old Pretty Printer from the ABAP workbench has changed its name to Format in ABAP in Eclipse. Congratulations 🙂

But unfortunately it does not the job that you expect? Maybe the reason is that you have not adjusted the formatting options within your project settings. This is another important point you have to know: Besides the eclipse preferences under the window menu we also provide project (that means system specific) settings. You find them by right-clicking on the ABAP project in the project explorer and choosing the item Properties. The following popup comes up and you can adjust the settings:       

/wp-content/uploads/2013/05/settings2_218214.png

Regards,

Thomas.

Add: I have just got the confirmation from the development teams that with the next release we add a notifcation to the developer in case the default settings are not changed.

I love the agile development model: Just having an idea in mind and it is already implemented 🙂

Assigned tags

      10 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Luís Pérez Grau
      Luís Pérez Grau

      Thanks!

      Author's profile photo Peter Inotai
      Peter Inotai

      Hi Thomas,

      Thanks for this info.

      Which release do you need for this feature?

      In 'ABAP Development Tools 1.0.3' it's not available.

      Thanks,

      Peter

      Author's profile photo Peter Inotai
      Peter Inotai

      OK, in 1.0.4 it's already there 🙂

      Peter

      Author's profile photo Thomas Fiedler
      Thomas Fiedler
      Blog Post Author

      Hi Peter,

      why do you use the "Dino" version of ABAP in Eclipse? We already have version 2.7. ready to use.

      Regards,

      Thomas.

      Author's profile photo Peter Inotai
      Peter Inotai

      Hi Thomas,

      Thanks for the info.

      I've installed the latest available from the Marketplace (

      ABAP Development Tools for SAP NetWeaver 2.7 - patch 5, filename: SAPBASISAIE00_5-10012236.ZIP), however in the Installation details the first component com.sap.adt.wda.core it's still 1.0.4 ... for the others it's like 2.7.x.

      So, that's why I wrote the wrong version number. Sorry about it. Anyway, now it works.

      Peter

      Author's profile photo Ashwani Kumar Sharma
      Ashwani Kumar Sharma

      Hi Thomas,

      wda.* are versioned as 1.0.4 because this is first release of web dynpro abap application development suport inside AIE. 🙂

      Hope you are liking it !

      Regards,

      Ashwani Kr Sharma

      Author's profile photo Former Member
      Former Member

      It seems to adhere to the options when you use auto-complete. If you have it to put keywords in caps and you manually type the keywords (in lowercase) then it will not convert to upper case.  If you use auto complete then it will put the key words in upper case.

      Also, can you tell me what identifiers are, in regards to the formatter options?

      Author's profile photo Former Member
      Former Member

      Hi!

      Use the command Shift+F1 to format menu font -> format.

      Author's profile photo Michael Gutfleisch
      Michael Gutfleisch

      An identifier is simply the technical term for a name given to a class, interface, method, attribute, form routine, variable, constant, type, etc.


      Regards,

      Michael

      Author's profile photo Former Member
      Former Member

      Thanks for the information. Clear, to the point and correct 🙂 .