Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ClarityScriptNew to Visual Studio Code? Get it now.
ClarityScript

ClarityScript

Luigichopper

|
4 installs
| (0) | Free
Syntax highlighting and tools for the Clarity language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Clarity Language Extension for Visual Studio Code

This extension provides syntax highlighting, snippets, and basic language support for the Clarity language - a Python-like alternative to HTML that focuses on readability and elegance.

Features

  • Syntax highlighting for Clarity files (.clar, .clarity)
  • Auto-completion for common patterns
  • Snippets for common structures
  • Smart indentation and bracket matching
  • Code folding support

Snippets

This extension includes several snippets to speed up your Clarity development:

  • document: Creates a basic document structure
  • style: Creates a CSS style block
  • script: Creates a JavaScript script block
  • for: Creates a for loop
  • if: Creates an if statement
  • ifelse: Creates an if-else statement
  • var: Creates a variable declaration
  • component: Creates a component definition
  • @: Creates component usage
  • elem: Creates an HTML element with attributes

Installation

Manual Installation

  1. Download or clone this repository
  2. Copy the contents to ~/.vscode/extensions/clarity-language
  3. Restart VS Code

From VSIX (Coming Soon)

  1. Download the .vsix file
  2. Open VS Code
  3. Go to Extensions view (Ctrl+Shift+X)
  4. Click on the "..." in the top-right corner
  5. Select "Install from VSIX..."
  6. Choose the downloaded file

Extension Development

If you want to contribute to this extension:

  1. Clone the repository
  2. Make your changes
  3. Test locally by copying to your extensions folder
  4. Submit a pull request

Release Notes

0.1.0

  • Initial release with basic syntax highlighting and snippets

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft