Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vetur does not say when there is an unknown Vue component tag in template #1997

Open
vegerot opened this issue Jun 17, 2020 · 4 comments
Open

Comments

@vegerot
Copy link

vegerot commented Jun 17, 2020

  • [x ] I have searched through existing issues

Feature Request

Just spent 45 minutes debugging a component only to realize I hadn't included it in the components where I'm including it. In WebStorm, such a blunder would result in
image
However, VSCode doesn't provide any such feedback. Curiously enough, pressing "Goto Definition" on the tag takes me to the correct component, even though it's not imported.

To add onto that, pressing "Goto Definition" takes me to the definition only in VSCode, not in vim with coc-vetur

@yoyo930021
Copy link
Member

This PR is need #2243 .

@michaelschufi
Copy link

Hi @yoyo930021
I'm a bit confused. As #2243 is already closed and you said "Add in v0.31.0". So was this added in 0.31 and I can just not find the setting?

@yoyo930021
Copy link
Member

Hi @yoyo930021
I'm a bit confused. As #2243 is already closed and you said "Add in v0.31.0". So was this added in 0.31 and I can just not find the setting?

https://vuejs.github.io/vetur/guide/global-components.html#example

@michaelschufi
Copy link

@yoyo930021
Ah, thank you. I thought it was already solving this issue. Sorry for bothering you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants