crystal-lang-tools / vscode-crystal-lang

Yet another VSCode extension for Crystal Programming Language
https://marketplace.visualstudio.com/items?itemName=crystal-lang-tools.crystal-lang
MIT License
276 stars 58 forks source link

fix: Use a separate task provider for shards #145

Closed refi64 closed 1 year ago

refi64 commented 3 years ago

Recent VSCode versions warn when a task provider of one type registers tasks of another, leading to issues due to the "crystal" task provider registering "shards" tasks. This fixes that by creating a separate task provider for "shards" tasks.

Ref. #139.

y8 commented 2 years ago

@bcardiff can you please take a look at this PR?

Right now running tasks produce error pop-up because of the warning:

The task provider for "crystal" tasks unexpectedly provided a task of type "shards".

image

It's very distracting :(

Thanks!

nobodywasishere commented 1 year ago

This should be fixed after #168 is merged and tasks are reimplemented.