-
Notifications
You must be signed in to change notification settings - Fork 28
usage
Marcello Urbani edited this page Mar 22, 2019
·
5 revisions
- press Ctrl+Shift+P to enter the command palette
- run command "Connect to an ABAP system"
- select one of the configurations Connecting will take a few seconds, after which you will be able to edit your ABAP code like it was on your hard drive
This extension treats your ABAP codebase as a filesystem, which it isn't, so some things work differently from regular vs code operations. Some of these will sound familiar if you used Eclipse
- You can't create files or directories. You can instead create abap objects with command Create ABAP Object, also available in the explorer context menu
- you can only delete some files/directories. For instance you can't delete a report source, but you can delete a program and some includes
- when editing a file:
- the editor will try to acquire a lock. If it fails to do so you won't be able to save it
- before you save a file you might need a transport
- some files are readonly (i.e. sap objects) the editor won't allow you to edit them
- enhanced code can't be edited
- the integrated search doesn't work. Instead you can use the Search for ABAP object command, also available in the context menu of the file explorer
- you can save any object/folder as a favourite, again using the context menu of the file explorer
- Syntax highlighting is provided by the ABAP extension
- Syntax check, references, go to definition, go to implementation, pretty print, completion all follow the vscode conventions and configuration
- Outline only works for classes
- Other features like outline, refactoring, fix errors are not implemented yet