Everyday workflows made easy. Find your task and follow the steps.
- Click on the procedure name (anywhere it's used)
- Press F12
- You jump to the MAP declaration or PROCEDURE line
What it does: Takes you to where the procedure is defined.
- Click on a MAP declaration or procedure call
- Press Ctrl+F12
- Jump to the PROCEDURE implementation
What it does: Shows you the actual code, not just the declaration.
- Hover your mouse over any function name
- Read the documentation popup
- Press
Escapeto close
What it does: Shows you function documentation, parameters, and usage.
- Click on the variable name
- Press F12
- Jump to its declaration (DATA section or parameter list)
Works for:
- Local variables
- Global variables
- Parameters
- Group fields
- Click on the filename in an
INCLUDE('filename.inc')statement - Press F12
- The file opens
Bonus: If you include a specific SECTION, it jumps directly to that section!
Example: INCLUDE('file.inc', 'MySection') → Jumps to MySection CODE
- Click on the MODULE name in a CLASS declaration:
MyClass CLASS,MODULE('MyClass.clw')
- Press F12
- The
.clwfile opens
Use snippets!
- Type the snippet trigger (e.g.,
IF) - Press Tab
- The structure is inserted with placeholders
- Tab again to jump to the next placeholder
Common snippets:
IF→ IF/THEN/ENDIFE→ IF/THEN/ELSE/ENDLOOP→ LOOP/ENDMAP→ MAP/ENDCASE→ CASE/OF/END
Use variable snippets:
- Type
V+ variable type (e.g.,VSfor String) - Press Tab
- Fill in the variable name
Variable types:
VS→ StringVL→ LongVR→ RealVD→ DecimalVDT→ DateRVS→ &String (reference)
For an existing method declaration in a CLASS:
- Place your cursor on the method name in the CLASS
- Press
Ctrl+Shift+I(or Command Palette → "Add Method Implementation") - The implementation is generated in the MODULE file
- You're taken to the new method implementation
What it generates:
MyClass.MyMethod PROCEDURE
CODE
! Your code hereConvert multi-line text to Clarion string format:
- Copy some text to your clipboard
- In VS Code, press
Ctrl+Shift+Alt+V(or Command Palette → "Paste as Clarion String") - The text is pasted with proper escaping and line continuation
Example:
Input (clipboard):
This is line 1
This is line 2
Output (pasted):
'This is line 1' & |
'This is line 2'Perfect for SQL queries, error messages, and multi-line strings!
- Press
Ctrl+Shift+Pto open Command Palette - Type "Create New Class"
- Enter the class name
- Choose a folder
- Both
.incand.clwfiles are created with proper structure
Method 1: Open Folder
- File → Open Folder (
Ctrl+K Ctrl+O) - Select folder containing your
.slnfile - Open Clarion Tools sidebar
- Click the ▶ solution name shown under "X Solution(s) Found"
Method 2: Browse from Solution View
- Open Clarion Tools sidebar
- Click "📂 Browse for Solution..."
- Select your
.slnfile
Method 3: Recent Solutions
- Open Clarion Tools sidebar
- Click any solution in Recent Solutions list
- File → Open Folder
- Select a different solution folder
OR
- Click a recent solution in the Clarion Tools sidebar
Note: VS Code can only have one folder open at a time.
Change between Debug and Release:
- Click the status bar at the bottom (shows current config like "Debug|Win32")
- Select new configuration from the dropdown
OR
Ctrl+Shift+P→ "Clarion: Set Configuration"- Select configuration
Method 1: From Solution View
- In Clarion Tools sidebar, find your application
- Right-click on the
.appfile - Click "Generate Application"
Method 2: Keyboard Shortcut
- Make sure an
.appfile is open or selected - Press
Ctrl+Shift+B
Method 3: Command Palette
Ctrl+Shift+P→ "Clarion: Generate Application"
Build output appears in the integrated terminal.
- After a build, check the terminal at the bottom
- Errors show in red with line numbers
- Click on an error to jump to that line
Possible causes:
-
Solution not opened correctly
- Make sure you opened the folder containing the
.slnfile - Check Clarion Tools sidebar shows your solution
- Make sure you opened the folder containing the
-
File is outside the solution
- F12 only works within the solution and its includes
-
Symbol not found
- Check spelling and scope (local vs global variables)
Possible causes:
-
Extension not activated
- Check the bottom status bar for Clarion version
- If not showing, try opening a
.clwfile
-
File type not recognized
- Make sure file has
.clw,.inc, or.equextension
- Make sure file has
-
Try restarting
Ctrl+Shift+P→ "Developer: Reload Window"
Fix:
Ctrl+Shift+P→ "Clarion: Set Clarion Path"- Browse to your Clarion
BINfolder - Try building again
- Installation Guide - Detailed setup
- Full Documentation - Complete guide
- GitHub Issues - Report bugs