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

Add the ability to disable the "Go to Definition" function for css classes #1121

Closed
johnsoncodehk opened this issue Mar 29, 2022 Discussed in #1119 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@johnsoncodehk
Copy link
Member

Discussed in #1119

Originally posted by MaxIV20 March 29, 2022
For VS Code, there is an extension "CSS Navigation", which is better to find class definitions (it can find classes in external css/scss files, or abbreviated scss classes starting with &__class-name, volar does not see them).

Is it possible to add an option to disable the "Go to Definition" function in volar for css classes?

The underlining of classes for which a definition has been found also gets in the way a bit. It would be great to also add an option to disable class underscores.

@johnsoncodehk johnsoncodehk added the enhancement New feature or request label Mar 29, 2022
@lsdsjy
Copy link
Contributor

lsdsjy commented Jan 15, 2024

Can Volar support parent selectors(&) when finding class definitions? It seems that "CSS Navigation" does not support Vue SFC well: pucelle/vscode-css-navigation#30 (comment)

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

No branches or pull requests

2 participants