Skip to Content
Technical Articles

ABAP remote plugin for visual studio code

As much as I love the ABAP developer tools for Eclipse, it still feel a bit clunky compared with modern code editors .

I particularly like Visual Studio Code, so a few months ago I started a project to enable using it to edit ABAP code, and released it as a plugin just before Christmas.

It’s currently available in the code marketplace, but is more convenient to just search for it in the editor UI.

I highly recommend to pair it with the ABAP and ABAPLint plugins (although the latter doesn’t work for function modules yet). ABAP Snippets is also useful.

It’s still in its early stages, and lacks lots of the features currently available in Eclipse, but is capable enough to be useful. I would think twice before using it on production code though.

For now it supports programs, classes and function groups (other object types might work on some platforms) with the following functions:

  • edit
  • create
  • activate
  • search

It can also assign/create transports if needed.

I plan to add functionality for code completion and validation soon, still have to start working on it.

 

 

12 Comments
You must be Logged on to comment or reply to a post.
  • it’s amazing. Much lighter than the eclipse. Just need you:

     

    1. Enter the connection language on the settings
    2. Outline complete as in the eclipse
    3. Favorite’s package as in the eclipse

    With those three things, it would be perfect. Very good job. I will remain attentive to the development

     

     

    • Good point about the language, will add to the issue list.

      I guess you mean autocomplete: it’s the next big thing, right now I’m working on starting programs in SAPGUI.

      It stalled for a while due to Christmas and the need of quite a bit of work to allow stuff like autocomplete, find reference and so on (need to spawn another process for the language server…)

      • In eclipse you can see a detail of the class: methods, attributes, etc. It is very useful to develop and that is missing in the plugin.

        Even so, It’s a great job what you are doing.

         

         

  • Are you working with Lars Hvam (inventor of abapGit) on this? At TechEd Barcelona he showed me the exact thing you describe above, as he does not like Eclipse.

    I just want to make sure there are not two open source projects aiming for the exact same thing

    • yeah, there is no overlap in implementations, Marcello calls the ADT REST services, I try to do stuff without a backend :o) So perhaps there is overlap in the functionality, like ADT REST can provide an outline, which the abaplint vscode extension can also do(sometimes :o) ).

      Calling the ADT REST services will give correct results, whereas abaplint is messed up

    • I’m in touch with Lars, but as he explained it’s a different project.

      Once I get a reasonably good IDE with completion, syntax check, navigation and so I might look into adding some abapgit support, but might get weird as it’s a completely different API, and file formats are different too