Skip to content

Add-Type -AssemblyName not taken into account by the completion #637

Open
@nanoant

Description

@nanoant

I tried to look for the solution in existing tickets, but found no ticket mentioning Add-Type support.

I am using now PSES in Sublime Text with PR and recipe at: #629 (comment) and I found that it is not completing .NET types loaded by Add-Type e.g.:

Add-Type -AssemblyName System.IO.Compression.FileSystem
[System.IO.Compression.

completes only to types present in System.IO.Compression but not System.IO.Compression.FileSystem, like ZipFile.

psesaddtypecomplete

Also trying to complete [System.IO.Compression.ZipFile]:: returns nothing. I tried adding explicit path, no effect.

Do I need to explicitly specify additional modules somewhere when starting PSES or it should pick up the Add-Type from my script?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions