Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Sharpen (.csx)New to Visual Studio Code? Get it now.
Sharpen (.csx)

Sharpen (.csx)

Sharpen

|
1 install
| (0) | Free
Syntax highlighting for Sharpen's .csx files - C#-flavored TypeScript/React source, compiled to real .tsx/.ts by the Sharpen compiler.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Sharpen (.csx)

Syntax highlighting for .csx files - the C#-flavored source language compiled by Sharpen into real, plain TypeScript/React (.tsx/.ts).

This extension only adds syntax highlighting for now - no IntelliSense, no go-to-definition yet.

What it highlights

  • Comments (// only - .csx doesn't support block comments)
  • Attributes ([State], [Component], [Store], etc.)
  • Directives (@if, @else, @foreach)
  • Keywords, modifiers, and primitive types
  • Strings, including interpolated ($"...") strings with expression holes
  • JSX markup inside Render()

Learn more

Full language reference: mail4hafij.github.io/sharpen/sharpen.html

Install the compiler itself:

npm install -g @mail4hafij/sharpen
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft