Open
Description
Summary of the new feature
The puppet parser validate command display some problematic lexical construct as warnings.
Examples:
$server = 'localhost'
notify{"Path: ${server}\foo":}
Parser Warning:
Unrecognized escape sequence '\f' (file: lexer.pp, line: 2, column: 29)
$number1 = 5000
$number2 = '6000'
$sum = $number1 + $number2
notify{"Sum: $sum":}
Parser Warning:
The string '6000' was automatically coerced to the numerical value 6000 (file: lexer.pp, line: 3, column: 19)
I would like VSCode to show that warnings to the developer, so that they are aware of the problematic lexical construct they are using.
As a puppet code developer I want to be able to see lexer warning that puppet parser validates provides, so that I'm aware of problematical constructs in my code.