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

Drafteine

drafteine

| (0) | Free
Draft file trees as text: live diagnostics, IntelliSense, preview, and one-click materialization for .dft files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Drafteine for VS Code

Language support for .dft file-tree drafts:

  • Diagnostics as you type — over-indentation, files with children, invalid names, duplicate siblings, all from the Drafteine language server.
  • IntelliSense — type { for attribute completions with docs; hover any attribute for its meaning.
  • Format — the canonical Drafteine formatter, wired to Format Document.
  • Outline & folding — the draft's tree structure in the Outline view.
  • Live preview — Drafteine: Open Preview to the Side.
  • Materialize — Drafteine: Apply Draft to Workspace creates the drafted folders and files (never overwrites anything).

Syntax

app/ { strict }
  src/
    main.ts { max-lines: 200 }
  README.md          # folders end with /, files don't

See the repository's SPEC.md for the full language.

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