Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Type inference should handle executables #18864

Copy link
Copy link
@MartinGC94

Description

@MartinGC94
Issue body actions

Summary of the new feature / enhancement

Output from executables like ipconfig.exe are saved as strings in PowerShell. The type inference should be aware of this so we can get tab completion like: ipconfig.exe | foreach {$_.<Tab>
One problem here is that there's no way for PowerShell to know whether or not an executable actually outputs anything, but I think it's safe to assume that every executable outputs something and when that assumption is wrong the end user probably won't notice anyway since they have no reason to attempt to tab complete the output.

Proposed technical implementation details (optional)

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Interactive-IntelliSensetab completiontab completion

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.