Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>STXT - Semantic TextNew to Visual Studio Code? Get it now.
STXT - Semantic Text

STXT - Semantic Text

STXT Language

|
4 installs
| (0) | Free
Semantic Text syntax (.stxt)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

STXT – Semantic Text

Support for the STXT (Semantic Text) language in Visual Studio Code.

STXT is a structured, indentation-based language designed for semantic configuration and content definition.

More information: https://stxt.dev Ready-to-use examples: https://github.com/stxt-lang/stxt-web


Features

  • ✅ Real-time validation
  • 🎨 Semantic syntax highlighting
  • 🧠 Context-aware hover information
  • ✍️ Document formatting
  • 🔧 Custom schema and template support (.stxt/@stxt.schema, .stxt/@stxt.template)
  • 📐 Indentation configured for STXT (1 tab = 4 spaces)

Example

Title: Home
    Author: Joan
    Description: Example page

    Content >>
        This is a text block.
        It supports multiple lines.

# This is a comment

Formatting

Use Format Document to normalize spacing and structure.

STXT formatting preserves indentation and block semantics.


Schemas and Templates

STXT supports project-level schemas located at:

<workspace>/.stxt/@stxt.schema/

STXT also supports project-level templates located at:

<workspace>/.stxt/@stxt.template/

Schemas and templates are loaded automatically and refreshed when changes are detected. Schemas have higher priority than templates.


Release Notes

See the full version history in CHANGELOG.md.


License

MIT


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