-
Notifications
You must be signed in to change notification settings - Fork 517
Closed
PowerShell/PowerShellEditorServices
#1484Labels
Area-IntelliSenseBug: PowerShell CoreBugs when using PowerShell Core.Bugs when using PowerShell Core.Issue-BugA bug to squash.A bug to squash.Resolution-ExternalWill close automatically.Will close automatically.
Description
While I'm writing PowerShell code in Visual Studio Code on Mac, I notice that messages are randomly printed to the Integrated Terminal. Those messages typically indicate that a module is being imported, and sometimes my environment will change as a result (eg. posh-git
changes my prompt) against my will.
While the rich Intellisense metadata is useful for development, we should investigate a method of providing this metadata while simultaneously preventing unwanted changes to the development environment. Ideas proposed by @daviwil and myself include:
- Add a setting that prevents automatic import of modules (or perhaps opts into it)
- Parse tooltips from
CompletionResult
objects, instead of importing module - Run metadata gathering in separate PowerShell Runspace or process
Cheers,
Trevor Sullivan
Metadata
Metadata
Assignees
Labels
Area-IntelliSenseBug: PowerShell CoreBugs when using PowerShell Core.Bugs when using PowerShell Core.Issue-BugA bug to squash.A bug to squash.Resolution-ExternalWill close automatically.Will close automatically.