-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
What Versions are you running?
OS Version: MacOS Mojave
VSCode Version: 1.40.0
Puppet Extension Version: 0.21.0
PDK Version: 1.14.1
Using agent instead of pdk.
What You Are Seeing?
Mouse-over information is properly displayed for classes without absolute references:
foo::bar { 'foobar': }But is not displayed at all for classes with absolute references:
::foo::bar { 'foobar': }What is Expected?
I expect to see a tooltip with parameters displayed.
When I delete the top scope prefix ::, it works as expected, but because this is a completely valid form of puppet code, I felt it best to file this bug.
How Did You Get This To Happen? (Steps to Reproduce)
Inherited a codebase with lots of top scope usage.
Output Log
With top scope:
ERROR -- : (textDocument/hover) ::foo::bar is not a valid puppet type
Without top scope:
{"jsonrpc":"2.0","id":18,"result":{"contents":"**foo::bar** Resource\n\n---\n* ensure"}}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working