oxabl

for VS Code

You've never seen ABL like this in VS Code

Install for Windows or Linux x86_64

Fig. 1 / Completion after Table

Fig. 1 / Completion after Table

VS Code with a FIND FIRST Order statement being typed. After Order.Ord the completion list offers OrderDate, Ordernum and OrderStatus, and the detail pane shows FIELD Order.OrderDate AS DATE, its format 99/99/99, its label, its initial value and the OrderDate index.

Schema

  • Tables, fields, indexes and sequences from your schema
  • ABL Schema view for detailed in-editor review of schema
Fig. 2 / ABL Schema view

Fig. 2 / ABL Schema view

The ABL Schema view in the Explorer, with the Customer table open: its fields with type and label, and its indexes. Beside it, the Customer table page lists the database, the description, the 18 fields with type, format, label, initial value and description, and the 5 indexes.

Database hints

  • The index each search uses
  • WHOLE-INDEX searches
  • The lock a read takes by default
  • Transaction and buffer scope
  • Tables each routine reads and writes
Fig. 3 / Database inlay hints

Fig. 3 / Database inlay hints

A procedure with inlay hints: index CustNum, WHOLE-INDEX after a FOR EACH Customer whose condition is on Phone, and SHARE-LOCK and index CustOrder after a FIND FIRST Order that names no lock. A lens above the procedure says it reads Customer and Order.

Code completion

Completes

  • Statements valid at the cursor
  • Tables, buffers and temp-tables
  • Fields
  • Variables and parameters
  • Procedures, functions and methods, with parameter placeholders
  • Class members, inherited ones included
  • Handle attributes and methods after SESSION: or a HANDLE
  • Classes, interfaces and enums, with the USING added
  • Programs and include files
  • Preprocessor names

Hover and hints

  • Signatures of procedures, functions and methods
  • Tables read, written and locked
  • Field type, format, label and indexes
  • Signature help
  • Parameter-name hints
Fig. 4 / Hover with database effects

Fig. 4 / Hover with database effects

Hover on RUN repriceOpenOrder shows PROCEDURE repriceOpenOrder (INPUT piOrderNum AS INTEGER) and its database effects: OrderLine, read EXCLUSIVE-LOCK, update.

Diagnostics and quick fixes

In the Problems panel

  • oxabl lint findings
  • Semantic errors
  • Errors and warnings of the OpenEdge compiler
  • Quick fixes
  • Check Syntax on unsaved text
Fig. 5 / Quick fix and Problems panel

Fig. 5 / Quick fix and Problems panel

The quick fix Add NO-UNDO offered on a variable defined without NO-UNDO. The Problems panel below lists compiler messages from oxabl build, such as an unknown field, next to oxabl findings: a FIND in a loop, a read with no lock phrase, an unused variable.

Source actions

  • Fix keyword case
  • Expand abbreviations
  • Organize USINGs
  • Strip AppBuilder markup

Format

  • Format Document
  • Format Selection
  • Format on save
  • Format on paste
Fig. 6 / Go to Implementation

Fig. 6 / Go to Implementation

Go to Implementation on the CanOrder method of the interface ICreditPolicy opens a peek view with two implementations, in CreditPolicy.cls and StrictCreditPolicy.cls.

Commands

F12
Go to Definition
Ctrl+F12
Go to Implementation
Shift+Alt+F12
Find All References
F2
Rename Symbol
Shift+Alt+H
Call Hierarchy
Ctrl+T
Go to Symbol in Workspace
Ctrl+Shift+O
Outline

Also

  • Type hierarchy
  • Go to Super Method
  • Links to include files and programs
  • Highlight uses
  • Check an include file inside the program you pick
  • Inactive &IF branches dimmed
  • Expanded compile unit, the source as the compiler reads it

Debugger

Debugs

  • Breakpoints in programs, include files and classes
  • Conditions, hit counts and logpoints
  • Locals, parameters, buffers, temp-tables and objects
  • Set Value
  • Debug Console
  • AVMs in containers
  • Attach to a running AVM
Fig. 7 / Stopped at a breakpoint

Fig. 7 / Stopped at a breakpoint

A debug session stopped at a breakpoint in credit-review.p. The Variables view shows the locals oPolicy, dHeadroom = -248 and iStopped = 1, and the Customer buffer with its fields, such as Name = Go Fishing Ltd and CreditLimit = 3500. The Debug Console shows the output of a DISPLAY statement.

OpenEdge tools

  • Run Program
  • Data Dictionary
  • Procedure Editor
  • ProEnv
  • AppBuilder (Windows)

Progress documentation

At the cursor

  • Shift+F1 on keywords, functions, system handles and built-in classes
  • Your project's OpenEdge version
  • Search
  • Offline once opened
Fig. 8 / Documentation at the cursor

Fig. 8 / Documentation at the cursor

The documentation view beside the editor shows the FIND statement page for OpenEdge 12.8, with its syntax, opened from a FIND FIRST statement in the code.

Build

Builds

  • Builds on open and on save
  • Compiles only what a change reaches
  • Local and shared compile cache
  • Build progress in the status bar
  • Compiler listing and debug listing
  • XREF, as text or XML
  • Preprocessed source
  • One language server for each project in the workspace, with its own oxabl.toml
  • Nothing builds or runs in an untrusted folder

Agents

Language model tools / MCPEleven tools for agents in the editor, and an MCP server for any other agent.
Language model tools
ToolGives
#oxablCheckThe findings of a file, or of every program of the workspace.
#oxablExplainThe tables each routine of a program reads, writes and locks.
#oxablEffectsThe routines of the workspace that read, write or lock a table.
#oxablExpandThe file after preprocessing.
#oxablReferencesWhere a name is used.
#oxablDefinitionWhere a name is declared.
#oxablCompileThe messages of the OpenEdge compiler for one file.
#oxablXref, #oxablListing, #oxablDebugListingThe compiler's views of one file.
#oxablBuildAn incremental build of the project, after you confirm it.

MCP server

{
  "mcpServers": {
    "oxabl": { "command": "oxabl", "args": ["mcp"] }
  }
}

Agent skill

oxabl: Install agent skill

Install

Get it

VS Code Marketplace or Open VSX (Cursor)

Runs on

Windows and Linux, x86_64

Needs

VS Code 1.95+. OpenEdge 12.8+ for build, compile views and the debugger.

Every setting is in the oxabl docs.

The screenshots show VS Code with the oxabl paper theme, OpenEdge 12.8 and the Sports2000 sample database. Progress, OpenEdge and Sports2000 are trademarks or property of Progress Software Corporation. Visual Studio Code is a trademark of Microsoft. oxabl is not affiliated with, endorsed by or sponsored by either company. The build, the compile views and the debugger need your own licensed copy of OpenEdge.