Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3 ABAP Syntax Highlighting / Color scheme

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

like image 632
Niklas Avatar asked Sep 30 '13 14:09

Niklas


People also ask

How do I change the highlight color in Sublime Text 3?

Changing the selection colour in Sublime Text 3 Open the command palette with ⌘+⇧+P on mac iOS (for windows/linux Ctrl + Shif + P) and type prv to get the PackageResourceViewer options. Choose Open Resource >> Color Scheme – Default >> and choose your theme file to edit.

How do I change the syntax color in Sublime Text?

Go to the folder where sublime_text3 binary is. Go to Packages folder Open Color Scheme - Default. sublime-package Find the concern color scheme. Open it in some editor and change the values as per requirement.

How do I use syntax highlighting in Sublime Text 3?

To enable Syntax Highlighting click on “View” in the top bar, then hover your mouse over “Syntax”, and select your programming language from the list. Alternatively, if you save a document with a supported file extension, Sublime Text 3 will automatically apply the Syntax Highlighting for that language.

What is sublime default Color Scheme?

Choose a Colour Scheme by clicking on, Sublime Text → Preferences -> Colour Scheme… and select Mariana ( Colour Scheme — Default ). This is the default colour scheme available in latest build and it gives an apt colour to the classes, functions and for syntax highlighting supremely.


1 Answers

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"
like image 137
Alexandr Avatar answered Oct 08 '22 13:10

Alexandr