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

[crash] textDocument/definition request throws #271

Closed
AviVahl opened this issue Dec 19, 2018 · 1 comment
Closed

[crash] textDocument/definition request throws #271

AviVahl opened this issue Dec 19, 2018 · 1 comment

Comments

@AviVahl
Copy link
Collaborator

AviVahl commented Dec 19, 2018

.root {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAH0lEQVQYV2NkQAX/GZH4/xkYGBhhAmAOSBJEwDkgAQCCrgQEjpMcPgAAAABJRU5ErkJggg==);

    background: rgb(0, 0, 0);
}
  1. open in vscode.
  2. hold ctrl and hover the url(...).
  3. extension crashes with:
[Error - 1:47:41 PM] Request textDocument/definition failed.
  Message: Request textDocument/definition failed with message: Invalid regular expression: /value\(\s*xkYGBhhAmAOSBJEwDkgAQCCrgQEjpMcPgAAAABJRU5ErkJggg==)/: Unmatched ')'
  Code: -32603 
  1. hold ctrl and hover the rgb(...).
  2. extension crashes with:
[Error - 1:50:52 PM] Request textDocument/definition failed.
  Message: Request textDocument/definition failed with message: Cannot read property 'resolved' of undefined
  Code: -32603 
@tomrav
Copy link
Collaborator

tomrav commented May 11, 2020

Does not reproduce.

@tomrav tomrav closed this as completed May 11, 2020
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

2 participants