Skip to content
ABAP Syntax Highlighter for Sublime Text
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ABAP.sublime-completions CREATE OBJECT section; more keywords added May 22, 2013
ABAP.tmLanguage added SUPPLIED as a valid keyword. Sep 24, 2013
Comments.tmPreferences Ver. 01.00.00 May 19, 2013
README.md Update README.md Jun 13, 2018
append.sublime-snippet Ver. 01.00.00 May 19, 2013
begin-structure.sublime-snippet Ver. 01.00.00 May 19, 2013
begin-table.sublime-snippet Ver. 01.00.00 May 19, 2013
case.sublime-snippet Ver. 01.00.00 May 19, 2013
class.sublime-snippet Added snippet for CLASS Mar 8, 2016
collect.sublime-snippet
comment-form.sublime-snippet Ver. 01.00.00 May 19, 2013
comment.sublime-snippet Ver. 01.00.00 May 19, 2013
commit-bapi.sublime-snippet Ver. 01.00.00 May 19, 2013
commit.sublime-snippet Ver. 01.00.00 May 19, 2013
concatenate.sublime-snippet Ver. 01.00.00 May 19, 2013
decl-field-symbol-like.sublime-snippet
decl-field-symbol.sublime-snippet
decl-macro.sublime-snippet Ver. 01.00.00 May 19, 2013
decl-occurs.sublime-snippet Ver. 01.00.00 May 19, 2013
decl-return.sublime-snippet Ver. 01.00.00 May 19, 2013
decl-structure.sublime-snippet Ver. 01.00.00 May 19, 2013
decl-table.sublime-snippet Ver. 01.00.00 May 19, 2013
decl-type.sublime-snippet Ver. 01.00.00 May 19, 2013
declarations.sublime-snippet
delete-dupl.sublime-snippet Ver. 01.00.00 May 19, 2013
do-times.sublime-snippet
do.sublime-snippet Ver. 01.00.00 May 19, 2013
event-at-selection-screen-on.sublime-snippet Ver. 01.00.00 May 19, 2013
event-at-selection-screen-output.sublime-snippet Ver. 01.00.00 May 19, 2013
event-at-selection-screen.sublime-snippet Ver. 01.00.00 May 19, 2013
event-at-user-command.sublime-snippet Ver. 01.00.00 May 19, 2013
event-initialization.sublime-snippet Ver. 01.00.00 May 19, 2013
event-load-of-program.sublime-snippet Ver. 01.00.00 May 19, 2013
event-start-of-selection.sublime-snippet Ver. 01.00.00 May 19, 2013
event-top-of-page.sublime-snippet Ver. 01.00.00 May 19, 2013
events.sublime-snippet
file-download.sublime-snippet
file-upload.sublime-snippet Ver. 01.00.00 May 19, 2013
form-params.sublime-snippet Ver. 01.00.00 May 19, 2013
form.sublime-snippet Ver. 01.00.00 May 19, 2013
function.sublime-snippet Ver. 01.00.00 May 19, 2013
if-else.sublime-snippet Ver. 01.00.00 May 19, 2013
if-elseif.sublime-snippet Ver. 01.00.00 May 19, 2013
if.sublime-snippet
listbox.sublime-snippet Ver. 01.00.00 May 19, 2013
loop-assigning.sublime-snippet Ver. 01.00.00 May 19, 2013
loop-where.sublime-snippet Ver. 01.00.00 May 19, 2013
loop.sublime-snippet Ver. 01.00.00 May 19, 2013
message.sublime-snippet Ver. 01.00.00 May 19, 2013
modify-index.sublime-snippet Ver. 01.00.00 May 19, 2013
modify.sublime-snippet Ver. 01.00.00 May 19, 2013
package-metadata.json Ver. 01.20.00 May 21, 2013
perform-params.sublime-snippet Ver. 01.00.00 May 19, 2013
perform.sublime-snippet Ver. 01.00.00 May 19, 2013
read-index.sublime-snippet Ver. 01.00.00 May 19, 2013
read.sublime-snippet Ver. 01.00.00 May 19, 2013
report.sublime-snippet
select-endselect.sublime-snippet Ver. 01.10.00 May 20, 2013
select-single.sublime-snippet Ver. 01.10.00 May 20, 2013
select.sublime-snippet Ver. 01.10.00 May 20, 2013
selection-screen.sublime-snippet Ver. 01.00.00 May 19, 2013
sort.sublime-snippet
split-table.sublime-snippet Ver. 01.00.00 May 19, 2013
split.sublime-snippet Ver. 01.00.00 May 19, 2013
wait.sublime-snippet Ver. 01.00.00 May 19, 2013
write-line.sublime-snippet Ver. 01.00.00 May 19, 2013

README.md

ABAP-Sublime-Plugin

Description: ABAP Syntax Highlighter for Sublime Text 2

How to install it?

  • 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!!).

Location of Package folder according your platform:

  • Windows Vista/7: c:\Users[UserName]\AppData\Roaming\Sublime Text 2\Packages
  • OS X/Unix-like: ~/Library/Application Support/Sublime Text 2/Packages

Important notes

  • If the file you are editing has .abp extension, syntax highlighting works automaticaly. Otherwise you have to set the ABAP syntax explicitely (click on the bottom right corner in the ST2 window a choose ABAP).
  • It's quite simple to add more file extensions by editing ABAP.tmLanguage file (located in your ABAP plugin folder under Package folder). Search for fileTypes section in the beginning of the file and add for example line <string>txt</string> after the line <string>abp</string>.
  • If nothing works, restart ST2!

What you can do with ABAP plugin

  • highlight ABAP syntax (keywords, system contstants, name of forms, classes, methods and modules)
  • auto-complete code (it works both keyword suggesting and the snippets)
  • speed up coding with the set of predefined snippets (of course it's very easy to create your owns)
  • get overview of forms, classes, methods and modules on Ctrl+R command
  • comment/uncomment selected blocks of code on Ctrl+/ command
  • one more thing - maybe you would like to try out my Marias card game (Czech only) at http://marias.g6.cz/

Recommendation

I prefer the default color scheme Zenburnesque to achieve the best results.

Go to the main menu: Preferences -> Color Scheme -> Color Scheme - Default -> Zenburnesque.

Define own shortcut for ABAP syntax

Go to the main menu: Preferences -> Key Bindings - User. Place following code inside brackets [ you key bindings here... ]. You can set another shortcut key instead of ctrl+shift+a.


 // Set ABAP syntax
	{"keys": ["ctrl+shift+a"], "command": "set_file_type",
	"args": {"syntax": "Packages/ABAP/ABAP.tmLanguage"}
	}

Don't forget to save the file in the end.

You can’t perform that action at this time.