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
| |