Complete reference for all Clarion Extension configuration settings.
Settings are stored in .vscode/settings.json within your solution folder:
{
"clarion.clarionPath": "C:\\Clarion11\\Bin",
"clarion.propertiesPath": "C:\\MyProject\\.clarion.properties",
"clarion.configuration": "Release|Win32"
}Type: string
Default: null
Path to your Clarion BIN directory containing ClarionCl.exe.
Example:
{
"clarion.clarionPath": "C:\\Clarion11\\Bin"
}Set via UI:
Ctrl+Shift+P→ "Clarion: Set Clarion Path"- Click status bar (bottom-right)
Type: string
Default: null
Path to your .clarion.properties file for redirection configuration.
Example:
{
"clarion.propertiesPath": "C:\\MyProject\\.clarion.properties"
}Set via UI:
Ctrl+Shift+P→ "Clarion: Set Clarion Properties"
Type: string
Default: "Release|Win32"
Build configuration (Debug/Release and platform).
Example:
{
"clarion.configuration": "Debug|Win32"
}Set via UI:
- Click configuration in status bar
Ctrl+Shift+P→ "Clarion: Set Configuration"
Type: boolean
Default: true
Enable/disable visual dimming of unreachable code after RETURN/EXIT/HALT statements.
Example:
{
"clarion.unreachableCode.enabled": false
}Type: boolean
Default: true
Enable/disable all diagnostic features (error detection).
Example:
{
"clarion.diagnostics.enabled": true
}Type: boolean
Default: true
Validate structure blocks (IF/END, LOOP/END, CASE/END, etc.) are properly terminated.
Type: boolean
Default: true
Validate FILE declarations have required DRIVER and RECORD attributes.
Type: string
Default: "space"
Options: "space", "crlf", "none"
Line terminator to use when pasting as Clarion string.
Examples:
// Space continuation (default)
{
"clarion.pasteAsClarionString.lineTerminator": "space"
}
// Output: 'Line 1' & |
// 'Line 2'
// CRLF continuation
{
"clarion.pasteAsClarionString.lineTerminator": "crlf"
}
// Output: 'Line 1' & |
// '<13,10>' & |
// 'Line 2'
// No line breaks
{
"clarion.pasteAsClarionString.lineTerminator": "none"
}
// Output: 'Line 1Line 2'Type: boolean
Default: true
Trim leading whitespace from each line when pasting as Clarion string.
Recommended settings for Clarion IntelliSense:
{
"editor.quickSuggestions": {
"comments": false,
"strings": true,
"other": true
}
}Recommended: true
Accept IntelliSense suggestions with commit characters like (, ., etc.
Recommended: "on"
Accept IntelliSense suggestions with Enter key.
Type: boolean
Default: true
Automatically show build output panel when build errors occur.
Type: boolean
Default: true
Clear previous build output before starting new build.
Type: boolean
Default: true
Automatically refresh solution view when files change.
Type: number
Default: 20
Maximum number of recent solutions to remember.
{
// Essential
"clarion.clarionPath": "C:\\Clarion11\\Bin",
"clarion.propertiesPath": "C:\\MyProject\\.clarion.properties",
"clarion.configuration": "Release|Win32",
// Features
"clarion.unreachableCode.enabled": true,
"clarion.diagnostics.enabled": true,
"clarion.diagnostics.validateStructures": true,
"clarion.diagnostics.validateFiles": true,
// Paste as String
"clarion.pasteAsClarionString.lineTerminator": "space",
"clarion.pasteAsClarionString.trimLeading": true,
// Editor Integration
"editor.quickSuggestions": {
"comments": false,
"strings": true,
"other": true
},
"editor.acceptSuggestionOnCommitCharacter": true,
"editor.acceptSuggestionOnEnter": "on",
// Build
"clarion.build.showOutputOnError": true,
"clarion.build.clearOutputOnBuild": true,
// Solution
"clarion.solution.autoRefresh": true,
"clarion.solution.maxRecentSolutions": 20
}Global settings that apply to all solutions:
- File → Preferences → Settings (
Ctrl+,) - Stored in
%APPDATA%\Code\User\settings.json
Use for:
- Clarion path (same for all projects)
- Editor preferences
- UI customization
Settings specific to your solution:
- Stored in
.vscode/settings.jsonwithin solution folder - Can be committed to version control
Use for:
- Solution-specific configuration
- Properties file path
- Build configuration
- Team-shared settings
- Commands Reference - All available commands
- Installation Guide - Setup instructions
- Common Tasks - How-to recipes