MCPcopy Index your code
hub / github.com/vuejs/vetur

github.com/vuejs/vetur @v0.37.3 sqlite

repository ↗ · DeepWiki ↗ · release v0.37.3 ↗
1,005 symbols 3,018 edges 205 files 38 documented · 4%
README

Vetur

Project status

issue: https://github.com/vuejs/vetur/issues/3476

New official vue editor support: Volar
VSCode extension: https://marketplace.visualstudio.com/items?itemName=Vue.volar
Project: https://github.com/johnsoncodehk/volar
LSP: https://github.com/johnsoncodehk/volar

Vue tooling for VS Code.

  • vls: Vue Language Server
  • vti: Vetur Terminal Interface
  • Docs

🎉 VueConf 2017 Slide & Video 🎉

Sponsors

I quit my job to travel nomadically, to work on Open Source and to conduct independent study/research.

Vetur is my main focus in Open Source. Your help will alleviate my financial burden and allow me to spend more time working on Vetur. Thank you 🙏

https://github.com/sponsors/octref

Thanks to the following companies for supporting Vetur's development:

Request and perform code reviews from inside your IDE. Review any code, even if it's a work-in-progress that hasn't been committed yet, and use jump-to-definition, your favorite keybindings, and other IDE tools. Try it free.
Track and prioritise tech debt and maintenance issues, straight from your IDE. Bookmark code while you work, organise TODOs and share codebase knowledge with your team. Try it out for free today.
Bored of trawling through the docs? Get JS and TS code examples from documentation and Open Source right in your IDE. Learn more.
Tabnine - Code Faster with the All-Language AI Assistant for Code Completion.

Features

Quick Start

  • Install Vetur.
  • Try it with Veturpack.
  • Refer to setup page for setting up.
  • Refer to each feature's own page for setting up specific features.

FAQ

FAQ

Limitations

  • You can restart Vue language service when Vetur slow (#2192)
  • yarn pnp (https://vuejs.github.io/vetur/guide/setup.html#yarn-pnp)

Roadmap

See #873.

Contribution

See CONTRIBUTING.md

License

MIT © Pine Wu

Extension points exported contracts — how you extend this code

LanguageMode (Interface)
(no doc) [4 implementers]
server/src/embeddedSupport/languageModes.ts
UnEncodedSemanticTokenData (Interface)
(no doc)
test/semanticTokenHelper.ts
ExpectedCompletionItem (Interface)
(no doc)
test/completionHelper.ts
PartialDocumentSymbol (Interface)
(no doc)
test/lsp/features/documentSymbol/basic.test.ts
TemplateDiagnosticTest (Interface)
(no doc)
test/interpolation/features/diagnostics/basic.test.ts
CompletionTestSetup (Interface)
(no doc) [4 implementers]
server/src/modes/test-util/completion-test-util.ts
HoverTestSetup (Interface)
(no doc) [3 implementers]
server/src/modes/test-util/hover-test-util.ts
VIfFamilyData (Interface)
* For v-if, v-else-if and v-else
server/src/services/typescriptService/transformTemplate.ts

Core symbols most depended-on inside this repo

has
called by 167
server/src/modes/test-util/completion-test-util.ts
position
called by 147
test/util.ts
sameLineRange
called by 133
test/util.ts
genTag
called by 108
server/src/modes/template/tagProviders/htmlTags.ts
testCompletion
called by 87
test/completionHelper.ts
become
called by 82
server/src/modes/test-util/completion-test-util.ts
getDocUri
called by 53
test/lsp/path.ts
refreshAndGet
called by 49
server/src/embeddedSupport/languageModelCache.ts

Shape

Function 617
Method 263
Interface 79
Class 36
Enum 10

Languages

TypeScript100%

Modules by API surface

server/src/services/vls.ts50 symbols
server/src/services/typescriptService/transformTemplate.ts50 symbols
server/src/modes/script/javascript.ts42 symbols
server/src/services/projectService.ts41 symbols
server/src/modes/template/parser/htmlScanner.ts39 symbols
server/src/embeddedSupport/languageModes.ts36 symbols
server/src/modes/script/componentInfo.ts35 symbols
server/src/services/typescriptService/serviceHost.ts28 symbols
server/src/modes/template/tagProviders/common.ts21 symbols
server/src/modes/style/index.ts21 symbols
server/src/modes/plugins/autoImportSfcPlugin.ts20 symbols
server/src/modes/template/index.ts18 symbols

Dependencies from manifests, versioned

@babel/code-frame7.18.6 · 1×
@prettier/plugin-pug1.8.1 · 1×
@rollup/plugin-commonjs24.0.1 · 1×
@rollup/plugin-json6.0.0 · 1×
@rollup/plugin-node-resolve15.0.1 · 1×
@starptech/prettyhtml0.10.0 · 1×
@types/babel__code-frame7.0.3 · 1×
@types/eslint8.21.1 · 1×
@types/eslint-scope3.7.4 · 1×
@types/eslint-visitor-keys3.3.0 · 1×
@types/estree1.0.0 · 1×
@types/glob8.0.1 · 1×

For agents

$ claude mcp add vetur \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact