Visual Studio Code JPL rich language support
Features
The extension provides a rich language support for JPL (JAM Panther) syntax.
- Syntax highlighting
- Outline View (for Variables, Procedures, Parameters, Module calls)
- Code Completion for specific JPL keywords
- Hover Provider for specific JPL keywords
- Settings for code completion and hover provider
- View and Search JPL documentation directly from VSCode
- Code Folding via
#region | #endregion
- A couple of handy snippets
Snippet Prefixes
Prefix |
Description |
call |
Call Procedure |
cursor |
Create Cursor (dbms) |
for |
For Loop |
if |
If Statement |
ifelse |
If-Else Statement |
msg |
Pop-Up Message |
proc |
Procedure Statement |
split |
Separator |
while |
While Loop |
region |
// #region |
end |
// #endregion |
Settings
JPL.hover.showHoverInfo: <boolean> | Whether to show detailed information when hovering over specific JPL commands and keywords. (Default true)
JPL.completion.JPL Commands: <boolean> | Whether to enable Code Completion for JPL commands and built-in control functions. (Default true)
JPL.completion.DBMS Commands: <boolean> | Whether to enable Code Completion for JPL DBMS commands. (Default true)
JPL.completion.localVariables: <boolean> | Whether to enable Code Completion for local variables in JPL code. (Default true)
Installation (Windows, Linux)
- Launch VS Code
- Quick Open (Ctrl+Shift+P)
- Enter the following command and press enter: 'ext install marinv.jam-panther'
- Choose extension and install
- Reload VS Code
Installation (MAC)
- Launch VS Code
- Quick Open (⌘+P)
- Enter the following command and press enter: 'ext install marinv.jam-panther'
- Choose extension and install
- Reload VS Code
Disclaimer
This extensions is still in the early development stage, and as such it may not be suitable for usage in active development environment.
| |