Closed
Description
System Details
- Operating system name and version: Windows 10 Enterprise
PS > code -v
1.17.2
b813d12980308015bcd2b3a2f6efa5c810c33ba5
PS > $pseditor.EditorServicesVersion
Major Minor Build Revision
----- ----- ----- --------
1 4 1 0
PS > code --list-extensions --show-versions
dbaeumer.vscode-eslint@1.4.0
DotJoshJohnson.xml@1.9.2
ms-mssql.mssql@1.2.0
ms-vscode.PowerShell@1.4.3
streetsidesoftware.code-spell-checker@1.4.10
PS > $PSVersionTable
Name Value
---- -----
PSVersion 5.1.15063.674
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.15063.674
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
When using a class from a different module, the PowerShell plugin cannot locate the class source. I have a module which contains class definitions, then in another module I use the "Using module " to load the classes into the session for the module to use. It would be nice if the plugin could locate the supplied module and load in the classes to stop the editor "Unable to find type" errors from occurring.