Skip to content

Tab completion don't work for $error #3373

Closed

Description

@iSazonov

Steps to reproduce

5/0
$error[0].<tab>

Expected behavior

Tab completion substitutes property names (CategoryInfo, Exception ...)

Actual behavior

Tab completion don't work.

Environment data

All (Windows and Windows Core) PowerShell versions.

Activity

  1. added
    Issue-Enhancement
    on Mar 20, 2017
  2. added this to the milestone on Mar 20, 2017
  3. SteveL-MSFT commented on Apr 14, 2017

    @SteveL-MSFT
    Member

    Workaround is:

    $global:error[0].<tab>

    Did some debugging, command completion finds another variable named Error in a lower scope which is empty so nothing to tab complete. Still investigating.

  4. modified the milestones: , on May 15, 2017
  5. modified the milestones: , on Jun 13, 2017
  6. iSazonov commented on Oct 1, 2018

    @iSazonov
    CollaboratorAuthor

    Staffan Gustafsson (@powercode) Could you please confirm that the Issue was fixed in #7231?

    Steve Lee (@SteveL-MSFT) Aditya Patwardhan (@adityapatwardhan) Make sense to add explicit test for the case to avoid a regression?

  7. SteveL-MSFT commented on Oct 1, 2018

    @SteveL-MSFT
    Member

    On master branch, tab completion appears to work. Ilya (@iSazonov) I agree we should add some tests.

  8. vexx32 commented on Oct 1, 2018

    @vexx32
    Collaborator

    Does this also resolve #7828, Steve Lee (@SteveL-MSFT) ?

  9. SteveL-MSFT commented on Oct 2, 2018

    @SteveL-MSFT
    Member

    Rain Sallow (/u/ta11ow) (@vexx32) no, that one isn't resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-EnhancementResolution-FixedWG-Interactive-IntelliSense

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions