Skip to content

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 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.

3 participants