NickHeap2 / vscode-ant

Visual Studio Code Ant Task Runner Extension published on the marketplace
MIT License
6 stars 4 forks source link

Extension nickheap.vscode-ant has provided an invalid tree item #41

Closed stefandrissen closed 2 years ago

stefandrissen commented 2 years ago

Not sure if this is a VS Code issue or an extension issue (using 0.3.3)

As of VS Code 1.7.2, refreshing the Ant Targets results in an error and the Ant targets that can be launched are not shown in the side bar:

Extension nickheap.vscode-ant has provided an invalid tree item.

If I revert to VS Code 1.7.1 the problem is gone.

AureliusSlawinski commented 2 years ago

Same for me. I also downgraded VS Code version.

NickHeap2 commented 2 years ago

@stefandrissen thanks for letting me know I'll take a look at this today and try to get things working. I can then amke a release with the new build file parsing turned on by default.

NickHeap2 commented 2 years ago

Looks like the root TreeItem is failing for having a command property of '' when it now needs to be undefined.

NickHeap2 commented 2 years ago

Fix is incoming.

NickHeap2 commented 2 years ago

@stefandrissen @AureliusSlawinski This is now fixed in the latest 0.4.0 release.

stefandrissen commented 2 years ago

Thanks for the quick fix!