extensionTipService does not find possible executables for nu, etc #246545
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
While trying to figure out: #245698,
I noticed that there was already some logic where we search for executables and try to recommend appropriate extensions to install. I've noticed that I wasn't getting expected result (for example, nu language extension should've be suggested if nu executable was detected on my system).
It seems like in
vscode/src/vs/platform/extensionManagement/common/extensionTipsService.ts
Line 353 in c586d5c
I can't really test this change since:
getValidExecutableBasedExtensionTips
) always seem empty for me.homebrew directory for Mac and LOCALAPPDATA for Windows.
works since theexecutableTips
were always empty, andhighImportanceRecommendations
andmediumImportanceRecommendations
seemed to empty as well from the constructor.I tried to set bunch of logs, breakpoints but it seems like breakpoints inside the constructor of
AbstractNativeExtensionTipsService
never hits and I can't get any of the console.logs to show up in my dev tools.Can I get some help? @sandy081