-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
vscode shows an extra definition location #37526
Comments
I second that question. Is it possible to disable CSS LS for certain files? In my case .st.css |
My usecase is I'm writing a postcss LS and I want to have full control of LS features on *.css files for specific workspaces. |
I am not aware of such a support. |
Ok, thanks. Related question, then: |
@dbaeumer There is also issues like microsoft/vscode-css-languageservice#47 that an option to disable CSS LS could help. |
Yes, you can add a file assosciation in your extension (or the user settings). The most specific association wins: "files.associations": {
"*.st.css": "mylanguage"
} |
I'm writing an LSP based extension for our CSS preprocessor.
When implementing onDefinition I see that while I send one definition in the response, vscode shows 2.
The second location is the line on which the defintion request was sent.
This makes it harder to find the real definition, and prevents Ctrl+click from going directly to the location I send.
Am I missing something? As you can see in the pic, I am only sending one location back (line 7).
The text was updated successfully, but these errors were encountered: