6

I am looking for a Color Scheme in Sublime Text 3 for ABAP to highlight the syntax.

I have found this so far, but it does not work with version 3. It is supposed to be used with version 2.

EDIT:

This is how the Theme looks:

enter image description here

8
  • Have you tried it with version 3? I don't have any ABAP files to test it with, but looking over the package's contents there's nothing there that wouldn't work with ST3.
    – MattDMo
    Sep 30, 2013 at 16:14
  • Yeah I did. I downloaded it, created the ABAP folder under Browse Packages ... and also selected it as the Color Scheme. You can use some code from here 4ap.de/pages/abap/syntax/codeschnipsel.php
    – Niklas
    Sep 30, 2013 at 17:17
  • thanks for the link, I'll get back to you and see what I can do. In the meantime, if you want please check out my Neon Color Scheme (Package Control link), also available on GitHub for manual install. My main goal in designing it was to make as many languages as possible look as good as possible, and while I didn't specifically target ABAP, from a brief view of the .tmLanguage definition file, Neon should work fine. See if you like it, and I'll get back to you on ST3.
    – MattDMo
    Sep 30, 2013 at 18:20
  • 1
    Worked here, on sublime text 3.
    – felipecrp
    Nov 15, 2013 at 0:57
  • 4
    From the screenshot, the file is detected as "Plain Text". Can you manually set syntax to ABAP and see if the syntax highlighting works?
    – leesei
    Feb 5, 2014 at 9:33

1 Answer 1

5

To use ABAP Syntax highlight from ABAP-Sublime-Plugin in Sublime Text 3 you need to follow this steps:

  1. Steps described in "How to install it?" section on Github repository:
    • Open your Package folder. The easiest way to identify the Package folder is to go to ST2 main menu: Preferences -> Browse Packages...
    • Manualy create ABAP folder under your Package folder: ...\Packages\ABAP
    • Extract the content of zip archive into the ABAP folder (!!only the files without ABAP-Sublime-Plugin-master folder!!).
  2. Delete file package-metadata.json from ABAP folder. This file is used by Package Control Plugin and this file is not compatible with Package Control in Sublime Text 3.
  3. Choose ABAP code highlight scheme:
    • If the file you are editing has .abp extension, syntax highlighting works automaticaly
    • Or click on the bottom right corner in the ST3 window a choose ABAP
    • Or open command window: Ctrl+Shift+P -> Enter "Abap" -> Hit "Enter"
1
  • i installed on my sublime text 3, but the go_to_definition or F12 doesn't work anymore, any idea how to get it back?
    – Stone
    Mar 11, 2022 at 0:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.