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

CurveaScript

Curvea Design

| (0) | Free
Official CurveaScript language support for .csc files by Curvea Design.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CurveaScript Language Support

Official VS Code authoring support for CurveaScript (.csc) files, developed and maintained by Curvea Design.

.csc stands for CurveaScript Code. CurveaScript is an HTML-first template language powered by Curvea Engine; it is not JSX, Vue, Astro, Blade, or JavaScript.

Language support

  • File roles: @page, @layout, @component, and @document
  • Page layouts, component imports, JSON loads, pagination, local data, and SEO
  • Conditions, loops with transforms, escaped code examples, styles, and scripts
  • Path-only {{ expressions }} and the runtime CurrentYear global
  • Workspace-aware components, props, layouts, data paths, page data, content metadata, and built-ins
  • Curvea menu and lightbox data-csc-* attributes
  • Project-dependent Icon support when Lucide is installed

Editor features

  • TextMate and semantic highlighting
  • Directive, HTML, component, prop, layout, data, SEO, and expression completions
  • Automatic component imports
  • Hover documentation and signature help
  • Go to Definition for layouts, components, loaded data, page data, and local declarations
  • Find References and Rename for components, layouts, props, loop variables, and local data
  • Document Symbols and Workspace Symbols
  • Engine-aligned diagnostics and quick fixes
  • Directive folding, bracket pairs, auto-closing, and indentation
  • Context-aware comments for HTML, @data/@seo, CSS, and JavaScript
  • Raw-block-safe document formatting
  • Workspace validation and related-file navigation commands

Commands

  • CurveaScript: Validate Workspace
  • CurveaScript: Open Related Page Data
  • CurveaScript: Open Document Shell
  • CurveaScript: Show Project Info
  • CurveaScript: Toggle Context Comment

Settings

  • curvea.diagnostics.enabled
  • curvea.diagnostics.unusedImports
  • curvea.completions.autoImport

Development

npm install
npm test
npm run package:check

The test suite validates current syntax fixtures, TextMate grammar behavior, parser and diagnostic parity cases, project-dependent built-ins, workspace indexing, formatter safety, and extension-host behavior.

CurveaScript examples

@page
@use Main(title=page.title)
@import Hero
@load products/items as products
@paginate products by 12

@if page.featured
  <Hero title="{{ page.title }}" />
@end

@for product in pagination.items sort order asc
  <article>{{ product.title }}</article>
@end
@component CodeExample(source)
<pre><code>
@code source
</code></pre>

Links

  • Website: curveadesign.com
  • Source: github.com/CurveaDesign/curvea-vscode
  • Support: ceo@curveadesign.com

License

MIT © 2026 Curvea Design

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft