continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.25k stars 1.66k forks source link

Fix activate vscode extension #2781

Closed RomneyDa closed 2 weeks ago

RomneyDa commented 2 weeks ago

Originally thought it was due to a missing dependsOn, but on second take looks like it was caused by an insufficient endsPattern (something @sestinj @Patrick-Erichsen) mentioned last week but I didn't get at the time

How to know? vscode-extension:build task alone generates extension.js fine but Launch "Launch extension" attempts to launch extension host before extension.js has been updated.

Solution: try a few problem matchers, this one works

note, root issue seems to be that the problem matcher used to be ">" but then an npm script esbuild-base was added that caused an addition premature > to be output

RomneyDa commented 2 weeks ago

@sestinj @Patrick-Erichsen can you verify that endsPattern works on your computers? node scripts/esbuild.js --sourcemap --watch

Wondering if this script outputs are actually due to some global setting that could make it not work for some users