GitShow/vuejs/vetur
vuejs

vetur

Vue tooling for VS Code.

by vuejs
hacktoberfestvisual-studio-codevscodevuevue-tooling
Star on GitHubForkWebsitenpm

TypeScript

5.7k stars597 forks158 contributorsQuiet · 2y agoSince 2016v0.37.3MIT

Meet the team

See all 158 on GitHub →
octref
octref1.9k contributions
yoyo930021
yoyo930021845 contributions
dependabot[bot]Bot
dependabot[bot]354 contributions
HerringtonDarkholme
HerringtonDarkholme306 contributions
dependabot-preview[bot]Bot
dependabot-preview[bot]179 contributions
ktsn
ktsn113 contributions
p-kuen
p-kuen42 contributions
jasonlyu123
jasonlyu12340 contributions

Languages

View on GitHub →
TypeScript92.7%
Vue6.2%
JavaScript1%
Shell0%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
75
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Quiet · Last activity 2y ago
See all on GitHub →
ladyruo
Unable to comment on a single line inside a vue fileOpenIssue

VS Code Version:Version: 1.87.2 (user setup) Commit: https://github.com/microsoft/vscode/commit/863d2581ecda6849923a2118d93a088b0745d9d6 Date: 2024-03-08T15:20:17.278Z Electron: 27.3.2 ElectronBuildId: 26836302 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS Version: Windows_NT x64 10.0.19045 Steps to Reproduce: When I first opened vscode, I couldn't comment on a single line in the .vue file, I disabled all the plugins and it still didn't work, and I made sure my shortcuts were correct. I don't have any problem with single line comments in .html, when I comment a line of code in .html and then go back to .vue, the single line comments in the .vue file work again!

ladyruo · 1mo ago
AstreoX
Fix prop validation for typed component propsOpenPR

Fixes #2344. Summary Preserve imported child components' exported TypeScript type while analyzing component info. Extract props from and component types, then merge them with existing runtime metadata. Add Vue 2 and Vue 3 diagnostics coverage for generic props type parameters. Tests IssueHunt Summary Referenced issues This pull request has been submitted to: #2344: Use Vue component's Props type parameter for prop type validation

AstreoX · 2mo ago
ktsn
Use Vue component's Props type parameter for prop type validationOpenIssue

[x] I have searched through existing issues Feature Request To use Vue component type parameter for prop type validation feature. Vue component type has dedicated type parameter to represent props: Vue 2: 5th parameter of https://github.com/vuejs/vue/blob/dev/types/vue.d.ts#L64 Vue 3: 1st, 7th and 8th parameters of https://github.com/vuejs/vue-next/blob/master/packages/runtime-core/src/componentPublicInstance.ts#L163 By using it, we can validate any kind of component if it is properly typed. An example use case is Vue Class Component. I'm planning to introduce a new way to define component props and it will be quite a different API interface from the basic Vue's prop definition. We can even use prop type validation with class component if we use type parameter from the component. It may also solve #2312 and #2343. IssueHunt Summary Backers (Total: $100.00) $100.00 have been anonymously funded. Submitted pull Requests #3732 Use component props type for prop validation #3733 Fix prop validation for typed component props Become a backer now! Or submit a pull request to get the deposits! Tips Checkout the Issuehunt explorer to discover more funded issues. Need some help from other developers? Add your repositories on IssueHunt to raise funds.

ktsn · 2mo ago

Recent fixes

View closed PRs →
mortyccp
Code navigation to source file with typescript project reference in mono repo setup.ClosedIssue

I am using typescript project reference in my monorepo setup. I found that the hover definition and navigation of the monorepo shared module would point to the build version instead of the source version for .vue file. If I use to shared module in ts file, the navigation would point to the source.

mortyccp · 1mo ago
octref
Make `#region` work on `<script>` sectionClosedIssue

From https://github.com/Microsoft/vscode/issues/39939. There is no folding regions being returned back from , as VS Code does for TypeScript. !image This is the support for LSP: https://microsoft.github.io/language-server-protocol/specification#textDocument_foldingRange.

octref · 3mo ago
Structured data for AI agents

Repository: vuejs/vetur. Description: Vue tooling for VS Code. Stars: 5746, Forks: 597. Primary language: TypeScript. Languages: TypeScript (92.7%), Vue (6.2%), JavaScript (1%), Shell (0%). License: MIT. Homepage: https://vuejs.github.io/vetur/ Topics: hacktoberfest, visual-studio-code, vscode, vue, vue-tooling. Latest release: v0.37.3 (3y ago). Open PRs: 29, open issues: 329. Last activity: 2y ago. Community health: 75%. Top contributors: octref, yoyo930021, dependabot[bot], HerringtonDarkholme, dependabot-preview[bot], ktsn, p-kuen, jasonlyu123, sapphi-red, jacob-greenfield and others.

·@ofershap

Replace github.com with gitshow.dev