OpenEdge ABL Extension for Visual Studio Code
- Auto-complete (tables, fields, methods)
- Source navigation
- Check syntax
- Compile
- Run
- Deploy
- Syntax highlighting
- Code snippets
- Fix: Status Bar Errors
- Fix: Command Palette Visibility
- Fix: Status Bar Visibility
- Fix: Read Dictionaty Structure
- Fix: Deployment for .CLS files
- Fix: Command Read Dictionary Struture activation
- Fix: Running programs outside workspace
- Fix: Buffer snippets adjustment
- Fix: Compilation status bar
- Fix: Source parser adjustments
- Snippet fields from database for temp-table "like" db table
- Mapping for "buffer" type
- Autocomplete fields
- Hover feature
- Go to definition
- New Symbol provider for breadcrumbs
- Improved definition and hover providers
- Adjustment in "Read dictionary structure" for multi-database
- Shortcut do method start line (Ctrl+Up)
- Grammar file adjustment for class type method parameters
- Source navigation to temp-table definition when received as method parameter
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)
- Trim: remove whitespaces from the end of the lines
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"
}
]
}
],
"format": {
"trim": "right" // none
}
}
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)format
are formatter options- Default values:
proPath
: workspaceRootworkingDirectory
: folder of active source file
Visit Issues page on GitHub to report any problem or submit an enhancement.
Inspired by ZaphyrVonGenevese (https://github.com/ZaphyrVonGenevese/vscode-abl) and ChrisCamicas (https://github.com/chriscamicas/vscode-abl) work.
Licensed under the Apache-2.0 License.
Grammar file based on Christophe Camicas' (https://github.com/chriscamicas/abl-tmlanguage.git)