-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
new and delete keywords no longer highlighted in C++ file #71821
Comments
Hi! I'm new to this project and would like to be assigned to this bug as well. |
This is true for other keywords: operator, and, or. I haven't checked all the other ones, so I cannot say there aren't more. |
Hi @alexr00, I would like to be assigned to this bug as well if possible. |
@jeff-hykin, it looks like |
* Revert C and C++ grammar change Fixes #71821
@alexr00 this can be closed, right? |
Yes, it is merged into the release branch. |
I just pushed the first part of a fix to master, so it should be in the next insiders. There are still more theme updates to make, but this will fix at least new, delete, using, and typedef in insiders. |
This should be a blocking issue for the grammar update as well jeff-hykin/better-cpp-syntax#95 |
@tristan957 thanks for the heads up. I'll update the grammar again for insiders. |
Updated grammar again. |
@alexr00, is the plan to move forward with https://github.com/jeff-hykin/cpp-textmate-grammar in future releases of VSCode? This is more of an organizational question, but if Microsoft now owns GitHub, and by extension Atom, can't you guys just merge the original PRs? What is holding that back? |
The plan is to move forward with https://github.com/jeff-hykin/cpp-textmate-grammar. There are folks working in that repository to make a better and well maintained C++ grammar. 🎉 The old Atom TextMate grammar does not have anyone who wants to improve and maintain it. That includes merging PRs. |
Thanks @alexr00 😁. We might break and misinterpret things some times, but I do want to be clear that we'll do whatever the community needs first. Over the last few days I have been surprised with the number of important bugs though. I expected Beta testing would be effectively done by the people using the extension, and to some degree thats certainly true. I think most of them don't use the default theme though so I will start testing the default theme myself. I've been looking into https://github.com/Microsoft/vscode-textmate to see if there is a way we can use it for integration testing which would help reduce regressions considerably. We added unit tests to the library awhile back and they've been helpful. |
@tristan957 You can expect that bugs as basic as the one you reported won't happen often in the future. The cause of that one was from initial port from json to ruby for the C syntax, which was a recent and involved several changes. We try to get high priority bugs fixed within 12 hours of them being posted, and try to implement easy fixes within 24 hours. |
* Revert C and C++ grammar change Fixes microsoft#71821
Issue Type: Bug
Doesn't change when disabling extensions.
VS Code version: Code 1.33.0 (0dd516d, 2019-04-04T15:14:28.026Z)
OS version: Windows_NT x64 10.0.17763
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (19)
The text was updated successfully, but these errors were encountered: