-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - thanks!
@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: