Skip to content

Keyword tooltips aren't shown in VS code #3328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
MartinGC94 opened this issue May 1, 2021 · 3 comments
Closed

Keyword tooltips aren't shown in VS code #3328

MartinGC94 opened this issue May 1, 2021 · 3 comments
Assignees
Labels
Area-IntelliSense Issue-Bug A bug to squash. Resolution-Fixed Will close automatically. Up for Grabs Will shepherd PRs.

Comments

@MartinGC94
Copy link
Contributor

MartinGC94 commented May 1, 2021

System Details

System Details Output

### VSCode version: 1.55.0-insider 06b54543d660353a04cdab6554d1f27266a537fd x64

### VSCode extensions:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]


### PSES version: 2.4.1.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      7.2.0-preview.5
PSEdition                      Core
GitCommitId                    7.2.0-preview.5-12-g026ffd42acfd39c8bce483fea18098ca42c4109e
OS                             Microsoft Windows 10.0.21359
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Issue Description

While working on PowerShell/PowerShell#15337 I noticed that if I create a completion result as a Keyword: https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.completionresulttype I can't see the tooltip data but if I change it to something else like Command the tooltip is visible. See the following 2 screenshots:

Keyword:
Help does not work
Command:
Help works

The full list of completion result types that don't show tooltips in VS code are:
Text
History
ProviderItem
ProviderContainer
Keyword
DynamicKeyword

Expected Behaviour

Tooltips are visible regardless of completionresulttype.

Actual Behaviour

Tooltips are only visible with specific completionresulttypes.

@ghost ghost added the Needs: Triage Maintainer attention needed! label May 1, 2021
@SydneyhSmith
Copy link
Collaborator

Thanks for opening the issue and providing the screenshots and repro steps-- I will mark this as up for grabs

@SydneyhSmith SydneyhSmith added Area-IntelliSense Issue-Bug A bug to squash. Up for Grabs Will shepherd PRs. and removed Needs: Triage Maintainer attention needed! labels May 4, 2021
@andyleejordan
Copy link
Member

Hey @MartinGC94, I believe I fixed this in PowerShell/PowerShellEditorServices#1738. Please re-open if not, but it looks like it to me!

@andyleejordan andyleejordan self-assigned this Mar 31, 2022
@andyleejordan andyleejordan added the Resolution-Fixed Will close automatically. label Mar 31, 2022
@andyleejordan andyleejordan moved this from Todo to Done in Sea Biscuit Mar 31, 2022
@andyleejordan andyleejordan moved this to Todo in Sea Biscuit Mar 31, 2022
@ghost ghost closed this as completed Mar 31, 2022
@ghost
Copy link

ghost commented Mar 31, 2022

This issue has been marked as fixed. It has been automatically closed for housekeeping purposes.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IntelliSense Issue-Bug A bug to squash. Resolution-Fixed Will close automatically. Up for Grabs Will shepherd PRs.
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants