Civet
Civet copied to clipboard
VSCode fails to jump with ctrl+click on `file://` urls
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://
Could that be a bug in your split branch? Maybe block.civet needs to import gatherRecursive from lib.civet?
It's not the specific error, just that the link doesn't navigate in VSCode.