OpenEdge ABL Extension for Visual Studio Code
- Syntax highlighting
- Auto-complete (tables, fields, methods, variables, parameters)
- Source navigation (ctrl+click)
- Check syntax, compile, run
- Deploy (source / r-code)
- Source formatting
- Hover information
- Include files suggestion
- Code snippets
Supports database table/fields, temp-tables, buffers, methods
- OpenEdge integration for check syntax, compile and run commands
- Configurable deployment options
Check Shortcut Keys section
Deployment options are located in configuration file
- Available commands:
ABL: Format - Keywords - Upper Case
ABL: Format - Keywords - Lower Case
ABL: Format - Trim Right
- Provides information when mouse hovers an element (table, field, variable, etc)
Alt+F1
Compile + deployAlt+F3
Compile with options (xref, debug-list, xcode, etc) + deployAlt+F2
Deploy without compile (only source file)Shift+F2
Check syntaxF2
Run
- Uses
//#region
and//#endregion
code folding - same as TypeScript
- Better code completion details
- Includes file sugestion on typing
{
- Brand new source code (seriously... almost everything...)
- New commands for source formatting
See CHANGELOG for more information.
- OpenEdge Progress 11+
- Extension is activated for extensions: .i .p .w .cls
- Create a configuration file (see Extension Settings below)
- Execute command "ABL: Read Dictionary Structure" for auto-complete feature
- Enjoy...
Create a database auto-complete file
Check syntax for current file and highlights errors
Compile the current file and deploy the RCode when configured
Deploy the current file when configured (without compile)
Compile the current file with additional options (Preprocess, X-Ref, etc)
Create a file named ".openedge-zext.json" in root path of the workspace.
Download base configuration file here.
{
"workingDirectory": "${workspaceFolder}\\Temp",
"proPath": [
"c:\\src",
"${workspaceFolder}"
],
"proPathMode": "overwrite", // append, prepend
"dlcPath": "c:\\dlc116",
"parameterFiles": [
"default.pf"
],
"dbDictionary": [
"myDatabaseForAutoComplete"
],
"deployment": [
{
"taskType": "current.r-code", // current.source
"path": "c:\\out",
"postAction": [
{
"actionType": "URL",
"command": "http://localhost:8080/postAction"
}
]
}
]
}
dlcPath
is optional, and overwrite DLC enviorenment variabledbDictionary
are the logical names of database files for the auto-complete option (command: ABL Read Dictionary Structure)deployment
are actions from compile/deploy commands (Alt+F1, Alt+F2 and Alt+F3)- Default values:
proPath
: workspaceRootworkingDirectory
: folder of active source file
Visit Issues page on GitHub to report any problem or submit an enhancement.
Grammar file based on Christophe Camicas' project (https://github.com/chriscamicas/abl-tmlanguage.git)
Licensed under the Apache-2.0 License.