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 CaseABL: Format - Keywords - Lower CaseABL: Format - Trim Right
- Provides information when mouse hovers an element (table, field, variable, etc)
Alt+F1Compile + deployAlt+F3Compile with options (xref, debug-list, xcode, etc) + deployAlt+F2Deploy without compile (only source file)Shift+F2Check syntaxF2Run
- Uses
//#regionand//#endregioncode 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"
}
]
}
]
}dlcPathis optional, and overwrite DLC enviorenment variabledbDictionaryare the logical names of database files for the auto-complete option (command: ABL Read Dictionary Structure)deploymentare 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.