Skip to content

DSC resource intellisense support #1469

@PleaseStopAsking

Description

@PleaseStopAsking

System Details

  • Operating system name and version:
Windows 10
  • VS Code version:
 1.25.1
1dfc5e557209371715f655691b1235b6b26a06be
x64
  • PowerShell extension version:
Major  Minor  Build  Revision
-----  -----  -----  --------
1      8      2      0
  • Output from $PSVersionTable:
PSVersion                      5.1.14393.2368
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.2368
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

I am seeing an issue with intellisense loading custom DSC module resource definitions/syntax. Attached is the functionality working as expected in ISE vs. VSCode. I know there is an outstanding performance issue with scripts that contain the Import-DscResource cmdlet but I am not sure if this would be due to that issue.

ise
vscode

Attached Logs

Follow the instructions in the README
about capturing and sending logs.

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