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

Pug: Support Ctrl+Click (Go to Definition) #2482

Closed
1 task done
moetelo opened this issue Nov 17, 2020 · 3 comments · Fixed by #3140
Closed
1 task done

Pug: Support Ctrl+Click (Go to Definition) #2482

moetelo opened this issue Nov 17, 2020 · 3 comments · Fixed by #3140

Comments

@moetelo
Copy link
Contributor

moetelo commented Nov 17, 2020

  • I have searched through existing issues

Feature Request

image

Here on the image, the template is in HTML and the same template in pug.

The ProgressBar tag in the HTML template is ctrl-clickable and it is highlighted with green text color.
By ctrl-clicking on it I can open the file, in which the ProgressBar component is defined.

The same tag in the pug template is not ctrl-clickable and has a blue color.

@yoyo930021
Copy link
Member

yoyo930021 commented Nov 19, 2020

This project for pug support is basic.
The PR is welcome.

@Wxh16144
Copy link

Vue Peek should suit you perfectly, and meet your needs.

@moetelo
Copy link
Contributor Author

moetelo commented Sep 6, 2021

Hello @yoyo930021, I've created a PR implementing this feature.

Found out that the green coloring is not associated with the findDefinition and is implemented via TextMate grammars, so it looks like it should be implemented in a separate PR.

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

Successfully merging a pull request may close this issue.

3 participants