Skip to main content

VS Code Extension

Full IntentText support inside VS Code: syntax highlighting, hover documentation, completions, snippets, diagnostics, and trust commands.

Installation

Search "IntentText" in the VS Code Extensions panel, or:

code --install-extension intenttext.intenttext

Features

Syntax highlighting

IntentText keywords, aliases, and template markers are highlighted with semantic coloring:

CategoryColorKeywords
Document identityBluetitle, summary, meta, context, track
ContentGreennote, quote, warning, tip, code, image, link, cite, def, figure, contact
StructurePurplesection, sub, break, group, ref, deadline
DataOrangeinput, output, table, metric
AgentRedstep, gate, trigger, emit, decision, context, memory, prompt, tool, audit, done, error
TrustGoldapprove, sign, freeze, revision, policy, amendment
LayoutTealpage, font, header, footer, watermark, signline

Aliases get the same highlighting as their canonical keyword. Template variables ({{name}}) are highlighted distinctly.

Hover documentation

Hover over any keyword to see:

  • Description and category
  • Available pipe properties
  • Example usage
  • Link to full documentation

Completions

Type any keyword and get intelligent completions:

  • Keyword names with descriptions
  • Pipe properties after |
  • Template variable names inside {{}}
  • Theme names after --theme
  • Alias suggestions (with canonical keyword shown)

Snippets

Type a keyword prefix and press Tab:

PrefixExpands to
it-docFull document skeleton
it-sectionSection with content
it-tableTable with headers and rows
it-stepStep with details
it-gateGate with condition
it-approveApproval block
it-sealSign/seal block
it-templateTemplate with variables
it-metricMetric with value and target
it-contactContact with details
it-deadlineDeadline with date
it-amendmentAmendment block

Diagnostics

Real-time error detection:

  • Unknown keywords flagged
  • Missing required properties
  • Invalid pipe property combinations
  • Duplicate section names
  • Trust chain warnings (e.g., modifying content after seal)

Commands

Access via Command Palette (Cmd+Shift+P):

CommandDescription
IntentText: Seal DocumentSeal the current file
IntentText: Verify DocumentCheck integrity
IntentText: Amend DocumentCreate amendment to frozen document
IntentText: View HistoryShow trust history
IntentText: PreviewRender and preview in side panel
IntentText: Change ThemeSwitch preview theme
IntentText: Pull TemplateDownload template from Hub

Preview panel

Live-rendered preview in a side panel:

  • Updates on save
  • Theme picker in the toolbar
  • Trust status badge (sealed/verified/amended)
  • Print preview mode

Configuration

{
"intenttext.defaultTheme": "corporate",
"intenttext.preview.autoOpen": true,
"intenttext.diagnostics.enabled": true,
"intenttext.hub.autoSuggestTemplates": true
}

Source

Repository: intenttext-vscode