Skip to content

Fix Right Click Help lookup not always working. #1743

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

Merged
merged 2 commits into from
Feb 8, 2019
Merged

Fix Right Click Help lookup not always working. #1743

merged 2 commits into from
Feb 8, 2019

Conversation

corbob
Copy link
Contributor

@corbob corbob commented Feb 5, 2019

PR Summary

Fixes #1740

When selecting Show Help from right click menu, vscode is sending the editor information through the item parameter. The editor doesn't have a Name property, so we should check that the item being passed has a Name property as well.

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • NA PR has tests
  • This PR is ready to merge and is not work in progress

Do a truthy check instead.

Co-Authored-By: corbob <[email protected]>
@TylerLeonhardt TylerLeonhardt merged commit 0fb852c into PowerShell:master Feb 8, 2019
TylerLeonhardt pushed a commit to TylerLeonhardt/vscode-powershell that referenced this pull request Mar 18, 2019
* Check that item has a Name property

* Update src/features/ShowHelp.ts

Do a truthy check instead.

Co-Authored-By: corbob <[email protected]>
TylerLeonhardt pushed a commit that referenced this pull request Mar 20, 2019
* Check that item has a Name property

* Update src/features/ShowHelp.ts

Do a truthy check instead.

Co-Authored-By: corbob <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants