Commit 7ae3ebc
docs: add TS plugin internals documentation (#358)
* docs: add TS plugin internals documentation
Document the internal architecture of the TypeScript Language Service Plugin,
covering Volar.js virtual code generation, position mappings, the single-quote
span problem and its solution, linkedCodeMappings, and the language service proxy.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(docs): preserve single quotes in ts-plugin-internals code blocks
Add docs/ts-plugin-internals.md to fmt.ignorePatterns in vite.config.ts
to prevent oxfmt from stripping single quotes in code blocks. Restore
the single-quoted property names that are essential to the document's
technical explanation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* format
* docs: add note that document was generated by Claude Code
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: reference ts-plugin-internals.md from CLAUDE.md
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: replace CLAUDE.md symlink with @AGENTS.md reference
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs(ts-plugin): fix internals documentation
* docs: improve docs
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent cc5f4c8 commit 7ae3ebc
File tree
4 files changed
+549
-2
lines changed- docs
4 files changed
+549
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
98 | 103 | | |
99 | 104 | | |
100 | 105 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments