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

Option click in pug broken in 2.0+ #3996

Closed
richardsimko opened this issue Mar 5, 2024 · 4 comments
Closed

Option click in pug broken in 2.0+ #3996

richardsimko opened this issue Mar 5, 2024 · 4 comments

Comments

@richardsimko
Copy link

richardsimko commented Mar 5, 2024

As mentioned here: #3930 (comment)

While 2.0.5 fixes the "not used" issue it doesn't fix the Cmd/option click to go to definition from a pug template. This worked in 1.8.27.

Hovering to get context is also broken, in 1.8.27 hovering over a function shows a tooltip with type info:

image

in 2.0+ it does nothing

Both of the above work with plain HTML templates in 2.0+ but not with Pug.

@JayPuff
Copy link

JayPuff commented Mar 5, 2024

@richardsimko Check out the recent comment on the task you linked, I fixed this issue by updating @vue/language-pug-plugin to the latest version like someone suggested there.

@richardsimko
Copy link
Author

That resolved the other issue but not this one for me.

@richardsimko
Copy link
Author

It seems like the TS Volar plugin is causing the issue (Since it's been deprecated in 2.0). Disabling that fixed the problem.

@boid-com
Copy link

I'm also seeing this issue, the only intellisense that is working is hovering templates but any variables/props are ignored.

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

No branches or pull requests

3 participants