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:
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 🙂
Thanks!
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
OK, in 1.0.4 it's already there 🙂
Peter
Hi Peter,
why do you use the "Dino" version of ABAP in Eclipse? We already have version 2.7. ready to use.
Regards,
Thomas.
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
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
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?
Hi!
Use the command Shift+F1 to format menu font -> format.
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
Thanks for the information. Clear, to the point and correct 🙂 .
For anyone dealing with AMDPs, you may liket o check https://blogs.sap.com/2022/03/21/amdp-pretty-printer/