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

VSCode fails to jump with ctrl+click on file:// urls #1028

Open
STRd6 opened this issue Feb 18, 2024 · 2 comments
Open

VSCode fails to jump with ctrl+click on file:// urls #1028

STRd6 opened this issue Feb 18, 2024 · 2 comments
Labels
lsp Language Server Protocol or other VSCode issues

Comments

@STRd6
Copy link
Contributor

STRd6 commented Feb 18, 2024

Ctrl Clicking these location outputs in the console fails to jump to them.

ReferenceError: gatherRecursive is not defined
    at processBlocks (file:///home/daniel/apps/civet/source/parser/block.civet:143:3)
    at processProgram (file:///home/daniel/apps/civet/source/parser/lib.civet:1362:3)
    at file:///home/daniel/apps/civet/source/parser.hera:1069:1
    at /home/daniel/apps/civet/node_modules/@danielx/hera/dist/machine.js:270:25
    at $EVENT (/home/daniel/apps/civet/node_modules/@danielx/hera/dist/machine.js:314:16)

It works if we remove file://

@edemaine
Copy link
Collaborator

Could that be a bug in your split branch? Maybe block.civet needs to import gatherRecursive from lib.civet?

@STRd6
Copy link
Contributor Author

STRd6 commented Feb 18, 2024

It's not the specific error, just that the link doesn't navigate in VSCode.

@edemaine edemaine added the lsp Language Server Protocol or other VSCode issues label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lsp Language Server Protocol or other VSCode issues
Projects
None yet
Development

No branches or pull requests

2 participants