Skip to content

msarson/Clarion-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Clarion Extension for Visual Studio Code

Version Installs

Professional Clarion language support for Visual Studio Code with intelligent code navigation, IntelliSense, and build integration.

πŸš€ Quick Links


✨ Key Features

🎨 Clarion & Template Language Support

Full language support for Clarion code, basic support for templates.

  • Clarion files (.clw, .inc) - Complete syntax highlighting and IntelliSense
  • Template files (.tpl, .tpw) - Syntax highlighting with 100+ template keywords
  • Code folding for structures and template blocks
  • Context-aware coloring for Clarion code
  • Note: Template files have syntax highlighting only (no IntelliSense/navigation)
  • Learn more about Code Editing β†’

πŸ’‘ Signature Help & Documentation

Get instant parameter hints and documentation - works immediately, no solution needed!

✏️ Code Snippets

Write code faster with 50+ smart snippets - works immediately!

πŸ“‚ Solution Management

Open any Clarion solution - just open the folder.

🧭 Smart Code Navigation

Jump to definitions, find implementations - works in same file immediately, cross-file with solution.

  • Press F12 to go to definition (same file: no solution needed!)
  • Press Ctrl+F12 to go to implementation
  • Hover for documentation and previews
  • Cross-file navigation requires solution
  • Learn more about Navigation β†’

πŸ”§ Build Integration

Generate applications directly from VS Code.

🎯 Real-time Diagnostics

Catch errors as you type.

✏️ Code Editing Tools

Productivity features to write code faster.


πŸ“¦ Installation

Requirements

  • Visual Studio Code (latest version)
  • Clarion (for build features)

Quick Install

  1. Open VS Code
  2. Press Ctrl+Shift+X
  3. Search for "Clarion Extensions"
  4. Click Install

Detailed installation instructions β†’


πŸŽ“ Learning Resources

For New Users

Feature Documentation

Reference


πŸ†• What's New

Latest: v0.8.6 (2026-01-12)

πŸš€ Cross-Project Navigation Performance

  • 50-70% faster Ctrl+F12 - CrossFileCache reduces subsequent navigations to <100ms
  • First navigation: 2-4 seconds (reads + caches file)
  • Subsequent navigations: <100ms (cache hits)

🎯 Routine Support Enhancements

  • Full namespace prefix support - DO DumpQue::SaveQState now works with hover and Ctrl+F12
  • New RoutineHoverResolver with code preview
  • Added DO_ROUTINE and ROUTINE_LABEL patterns

πŸ—οΈ Solution View Enhancements

  • Dependency-aware build order - Projects build in correct dependency order
  • Application sort toggle - Switch between Solution Order and Build Order
  • Build progress indicators - Spinning icon, build counter (e.g., "Building 2/5")
  • Batch UpperPark commands - Import/Export/Show All Differences
  • New context menu commands - Build Project, Generate + Build, Copy Path, Open in Clarion IDE
  • Generate All/Build All - Build multiple applications in dependency order

πŸ› Navigation & Hover Fixes

  • FUNCTION declarations now work with Ctrl+F12 (cross-project)
  • Procedures without parameters show correct hover info
  • Methods named like keywords (e.g., MESSAGE) show method info instead of keyword help

See full changelog β†’

Recent: v0.8.5 (2026-01-09)

πŸ”§ Folding Provider Fix

Fixed critical issues with code folding for window definitions:

  • APPLICATION structures now fold correctly
  • Nested MENU structures fold properly at any indentation level
  • Removed arbitrary 50-column limit for structure recognition

Impact: Complex window/application definitions with nested menus now have proper code folding support.

Recent: v0.8.4 (2026-01-09)

🎨 Template Language Support

Dedicated syntax highlighting for .tpl and .tpw files with 100+ template keywords.

⚑ Performance Boost

50-60% faster token processing with optimized caching and parent relationship indexing.

🎯 Scope-Aware Navigation

F12 now correctly prioritizes local variables over globals with the same name.

See full changelog β†’


πŸ’¬ Support & Feedback


πŸ“„ License

MIT License


πŸ™ Acknowledgments

Special thanks to:

  • fushnisoft - Original Clarion syntax highlighting
  • The Clarion community for feedback and testing

About

VS Code Extension for Clarion

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •