Closed AndrewNelis closed 2 months ago
And then today, the above failed and I was able to just use $ts-esbuild-watch
as the problemMatcher
value.
This seems like a user error.
It's caused by missing the connor4312.esbuild-problem-matchers
extension listed in .vscode\extensions.json
. When you generate the project it also prints "To run the extension you need to install the recommended extension 'connor4312.esbuild-problem-matchers'."
which I completely missed, which is why I found this issue.
Hi,
(I searched but couldn't find any information about this before!)
When I created a new project and selected "typescript" using the "esbuild" system, the project is created successfully but pressing F5 to run the task results in an issue. VSCode does not recognise the problem matcher
$esbuild-watch
defined here:https://github.com/microsoft/vscode-generator-code/blob/741c08a5f6232014aedab37485ab72edfac9c8e1/generators/app/templates/ext-command-ts/vscode-esbuild/vscode/tasks.json#L24
I was able to work around this by turning the "problemMatcher" key in
tasks.json
to the following;I don't know if I'm missing plugin here? I could not find mention of needing to install anything in the yo docs.
Hope this is of some help to someone.