Upgrade language server version to 0.0.21#1078
Conversation
This update includes some fixes to the linting checks so that there are less false positives. It also includes a fix to how variables are resolved to ensure that only alphanumeric and underscore characters are considered. Signed-off-by: Remy Suen <remy.suen@raventelemetry.com>
|
@EricJizbaMSFT Thanks for reviewing this! Have a nice weekend! |
@bverkron Thank you for reaching out. Not exactly, your issue stems from your use of the Check out the Dockerfile reference for more details. |
|
Fair point, but should the syntax highlighting / error checking recognize the escape command and adjust accordingly? It does not seem to. |
The linting feature should recognize your parser directive if you have defined one. I suggest you open a new issue if you are still seeing issues. As to the syntax highlighting, the language server is not doing the calculations there. See #75 and #292. |

This new update is mainly focused around improvements to the validation to correct some false positives (fixes #952) in addition to a fix to how variables were being resolved. Now the language server only considers alphanumeric and underscore characters as part of a variable's name.
As always, please use the following Dockerfile before and after the pull request to verify the changes: