-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Milestone
Description
What Versions are you running?
OS Version: Catalina
VSCode Version: 1.46.1
Puppet Extension Version: 0.27.3
PDK Version: puppet agent
What You Are Seeing?
Parsing of comments breaks in certain blocks.
The whole block turns bold (I do not know what this means), and if there's a quote in a comment, it is parsed as an opening quote for a string, which breaks the rest of the file.
I have been able to reproduce it in a block where a comparison with undef happens (other values do not produce this behavior):
# This comment is fine
if $var != undef {
# This comment doesn't parse properly
file { 'thing': }
}
What is Expected?
Pretty obvious
How Did You Get This To Happen? (Steps to Reproduce)
Open new or existing .pp file.
Type example code from above.
Output Log
Metadata
Metadata
Assignees
Labels
No labels
