theia-ide / theia-vscodecov

Test VS Code API coverage against Theia for any VS Code extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension.extensionPath detected as missing

tsmaeder opened this issue · comments

When I run the tool agains vscode-yaml, I get "vscode.Extension.extensionPath" reported as missing, but the API comparison report (https://che-incubator.github.io/vscode-theia-comparator/status.html) reports it as present.
The API comparison tool seems to do some magic to translate "extension" to "plugin" when doing the comparison. Maybe both tools are not using the same magic sauce.

@akosyakov @benoitf

it's implemented:

Yes, but how does the API comparison tool know that Plugin.pluginPath == Extension.extensionPath? Appearently, there is some smartness somewhere that is missing in the API that prevents such false positives. Would be cool if we had the same smartness in this tool here.

should be good now, thx