Skip to content

.NET types doesn't work in many cases. #148

Closed

Description

Heres example how intellisense fails to support .net types.

First working version and then modified failing one.

pshell-bug

vscode: 1.0
extension: 0.5.0

Activity

  1. added this to the 0.6.0 milestone on Apr 17, 2016
  2. daviwil commented on Apr 17, 2016

    @daviwil
    Contributor

    Hmm, will investigate this, thanks for reporting!

  3. rkeithhill commented on Apr 17, 2016

    @rkeithhill
    Contributor

    As a workaround for the NewGuid case, try this: type[System.Guid] and then press Ctrl+Space. You should see this:

    vscode_staticmembercompletion

    This will work a little better in 0.6.0 however David Wilson (@daviwil) we currently do not provide parameter/arg Intellisense for .NET methods like we do for PowerShell commands AFAICT e.g.:

    vscode_commandparameters

    That would be really nice to have for .NET methods where you show various method overloads e.g. 1/6 instead of command parameter sets.

  4. daviwil commented on Apr 17, 2016

    @daviwil
    Contributor

    That's true, we don't yet provide parameter hints for .NET methods. I was looking for the signature string in the IntelliSense but it seems you just need to get to it a different way, as shown by your screenshot.

    One thing that surprised me was that [System. doesn't get a completion list.

  5. daviwil commented on May 11, 2016

    @daviwil
    Contributor

    Looks like the completion problems you were having are fixed in 0.6.0 which is releasing soon. I'll close this bug as soon as that is released.

    We're tracking the lack of .NET method signature help here: PowerShell/PowerShellEditorServices#13. I'm going to start working on that in the next couple of releases since it will be a great productivity boost.

  6. daviwil commented on May 13, 2016

    @daviwil
    Contributor

    0.6.0 is now released! Let me know if you run into any further trouble.

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions