Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional IntelliSense fixes and ToolTip overhaul #1809

Merged

Conversation

SeeminglyScience
Copy link
Collaborator

Some minorish changes

  • Update intellisense logging (Now shows the word to complete and match count instead of the literal type name for SMA.CommandCompletion).
  • Fix type name completion when utilizing using namespace statements
  • Add support for completing paths with $PSScriptRoot and retaining it in the result (requires Use AST extent for PSScriptRoot path completion聽PowerShell#17376)

Overhaul completion tooltips for members

Types before

image

Types after

image

Properties before

image

Properties after

image

Methods before 馃槵

image

Methods after 馃帀

image

Now shows word to complete and match count instead of the literal type
name for `SMA.CommandCompletion`.
Type completion when utilizing `using namespace` statements was really
hit or miss due to replacement text not matching the filter text.

Also add support for completing and retaining `$PSScriptRoot`. Requires
a change in PowerShell that is not yet merged to work, but does not
break without the changes needed.
@SeeminglyScience SeeminglyScience requested a review from a team as a code owner May 20, 2022 18:13
Copy link
Member

@andyleejordan andyleejordan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed via Teams call!

@andyleejordan andyleejordan changed the title Wave 2 of intellisense fixes + tooltip overhaul Wave 2 of IntelliSense fixes and ToolTip overhaul May 20, 2022
@andyleejordan andyleejordan changed the title Wave 2 of IntelliSense fixes and ToolTip overhaul Additional IntelliSense fixes and ToolTip overhaul May 20, 2022
@andyleejordan andyleejordan added Issue-Enhancement A feature request (enhancement). Area-IntelliSense labels May 20, 2022
@andyleejordan andyleejordan merged commit e857863 into PowerShell:master May 20, 2022
@ALIENQuake
Copy link

@SeeminglyScience OMG This is so wonderful! Especially the methods view! Thank you!

@SeeminglyScience SeeminglyScience deleted the update-member-tooltips branch June 7, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IntelliSense Issue-Enhancement A feature request (enhancement).
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants