Clarion VS Code Extension – New Release Now Available! V0.5.2
Hi everyone,
I’m pleased to announce a new release of the Clarion Extension for Visual Studio Code! This version includes major improvements across the board — from performance to usability — and marks a shift from “experimental” to “actively maintained and production-ready.”
If you’re working with Clarion source code, especially larger solutions with complex redirection setups, this update brings many enhancements you’ll appreciate.
Key Features in This Release
-
Solution Tree View
View and explore your Clarion solution (SLN), including all.cwproj
projects and source files, directly from the sidebar. -
Automatic Solution Parsing
Just open your.sln
file — the extension automatically discovers projects and builds out the solution structure. -
Redirection-Aware File Lookup
All lookups (Go to Definition, Ctrl+P, etc.) understand both local and global redirection files. -
Improved “Go to Definition”
Jump toINCLUDE
andMODULE
references, even across redirected folders. -
Code Folding
Structural code folding based on a Clarion-aware tokenizer. Much more accurate than bracket-only folding. -
Document Symbols & Breadcrumbs
Improved navigation in the Outline and Breadcrumb bar, with full support for classes, methods, procedures, and UI structures likeWINDOW
,MENUBAR
,TOOLBAR
, etc. -
Hover Support
See file paths and context when hovering over includes, modules, and other references. -
COLOR(…) Inspector (New!)
Hover overCOLOR(...)
attributes to preview colors and view RGB/constant values. Interactive color pickers now supported. -
Document Formatting
Format.clw
files usingShift+Alt+F
, powered by the new token-based formatter. -
Token Caching & Performance Improvements
Parsing is now significantly faster. Changes are automatically re-parsed, and cached intelligently. -
Quick File Open (
Ctrl+P
) Integration
Filter and open Clarion files from your solution, including redirection folders. Files are shown with icons and context (e.g.,[Redirection]
, project name, etc.). -
Clarion Configuration Selector
UseClarion: Set Configuration
to toggle betweenDebug
,Release
, etc., matching your project builds.
Getting Started
See the full Getting Started Guide on GitHub for installation, setup instructions, and tips.
Clarion Extension on VS Code Marketplace
Feedback & Involvement
This project is actively maintained, and feedback is always welcome. If you encounter bugs, have ideas, or want to contribute, feel free to open an issue or start a discussion on GitHub.
Enjoy the update!
— Mark