-
Notifications
You must be signed in to change notification settings - Fork 524
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
Add semantic highlighting support for Dockerfiles #1840
Comments
I took a look at the last 24 hours, here's the numbers we have for Docker extension v1.0.0 users:
These count the highest version a machine reported in the last 24 hours, i.e. people who have upgraded will only show up in 1.44.0. The fact that the overwhelming majority of the numbers are in 1.43.2 or 1.44.0 tells me that nearly everyone stays up to date. I'll keep an eye on these numbers throughout the week, it hasn't even been 24 hours since 1.44.0 released so it can be expected to get even higher. |
@bwateratmsft The
|
Incidentally |
Let's monitor telemetry and wait for adoption of 1.44 to get closer to 80 to 90% and discuss before completed |
We're nearly there already. This is among our extension version 1.0.0 users, last 24 hours:
1.44 already accounts for ~75%. It's been ~5 weeks since 1.43.0 released, currently ~95% are >= 1.43.0. Our tentative plan for 1.2.0 release puts it at ~5 weeks after 1.44.0. So in theory that means when we release, we'll be at 95% upgraded. |
@rcjsuen If you're ready, go ahead and prep a PR so we can get the change into the release as early as possible in the cycle. Thanks again! |
@bwateratmsft Sorry, perhaps I should have been more clear when I commented earlier. Can someone fix these compiler errors first (which can be observed simply by changing the dependency to 1.42)? |
Ah, yes, I'll be getting that fixed when I merge https://github.com/microsoft/vscode-docker/tree/bmw/terminals which should be soon, probably early-mid next week. |
@bwateratmsft Thanks! I'll submit a pull request later today or tomorrow to enable semantic highlighting. |
@bwateratmsft I have opened #1899. |
@bwateratmsft I think we are good for the most part. Should I open a separate issue regarding the configuration of custom colours or should we just forget about it? To everyone else, I'll reiterate what was posted in #1899 as a reference for toggling this with the JSON settings editor.
|
@rcjsuen Yeah, I think that can be separate from this. |
@bwateratmsft OK. Let me do some research and then open an issue when I have something to share. I think we can close this then. Thanks for your support and for answering the various questions I've been asking of you all! |
Thank you for the language server! |
This feature is now available in version 1.2.0 of the Docker extension. |
With the finalization of the semantic highlighting API in Visual Studio Code 1.44, the Docker extension can now look to resolving long standing bug reports about malformed syntax highlighting in Dockerfiles using code instead of a TextMate grammar. I have tried to do a sweep of the GitHub issues that have been opened in the past to capture the various requests and bug reports about syntax highlighting in Dockerfiles.
HEALTHCHECK
flags)ARG
andENV
variables)Open question:
The extension currently depends on Visual Studio Code 1.41 which was released in December 2019.
vscode-docker/package.json
Lines 2439 to 2441 in 95fb889
Adding semantic highlighting support will change this dependency to 1.44. Not sure to me how many users would be affected by this. Does Microsoft have telemetry information about this to know what percentage of this extension's users are on which release of Visual Studio Code?
The text was updated successfully, but these errors were encountered: