What is the principle of syntax highlighting implementation of ABAP Development Tools?
This article is to share with you what the principle of ABAP Development Tools grammar highlighting is, the editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
The front end of ABAP Development Tools is Java, which does not recognize ABAP at all. So how is ABAP syntax highlighting in ADT implemented?
When you open a report for the first time, the code displayed in the ADT is not highlighted with any syntax
At this point, a HTTP request is sent to the ABAP background:
/ sap/bc/adt/abapsource/parsers/rnd/grammar?head=true
Request a pad file:
For the purpose of this pad file, refer to Jerry's blog:
How ABAP syntax highlight is implemented in "WebIDE" launched via browser
After the Pad file is loaded and rendered by ADT, the syntax is highlighted:
The above is what is the principle of ABAP Development Tools syntax highlighting. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.