Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABAP Syntax Support #278

Closed
Stegosawr opened this issue Sep 13, 2019 · 5 comments · Fixed by #281
Closed

ABAP Syntax Support #278

Stegosawr opened this issue Sep 13, 2019 · 5 comments · Fixed by #281

Comments

@Stegosawr
Copy link

What problem does this feature solve?

Makes .abap files readable.

What feature do you propose?

Add support for the programming language ABAP.

image

(Sorry that the comments are in german, but I think you'll get the point)

@Jos512
Copy link
Contributor

Jos512 commented Sep 18, 2019

Do you have the source code for the code in your screenshot?

That way we can see if Chroma can be made to recognise the same as your image shows. I don't want to type over the content of your screenshot. 🙂

Is the formatting that your image shows the 'golden standard'?


(To prevent duplicate work, a heads up that I started working on this issue.)

@alecthomas
Copy link
Owner

It looks like Pygments has ABAP support, so it should be fairly straightforward.

@Stegosawr
Copy link
Author

Stegosawr commented Sep 18, 2019

The best ABAP language support comes from SAP themselfs. They have developed a ADK for eclipse maybe you can grab the syntax highlighting from there :)

The formatting in ABAP is a little bit weird. If you want to see some more source code check out this project on github.

Source code for the screenshot mentioned above as file
primzahlrechner.txt

:
(not the golden standard)

@Jos512
Copy link
Contributor

Jos512 commented Sep 18, 2019

It looks like Pygments has ABAP support, so it should be fairly straightforward.

That's the one I'm using and what I'm hoping for. Without your helpful Chroma conversion tool it would be undoable since I know nothing of ABAP.

Source code for the screenshot mentioned above as file primzahlrechner.txt

Thanks!

@Jos512 Jos512 mentioned this issue Sep 19, 2019
@Stegosawr
Copy link
Author

If you need some abap example you can also checkout this https://dotabap.org/
and you can also check out a abap linter here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants