Skip to content
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

[c++] wrong syntax highlighting results when using decltype and '::'-specfied names in templates #3309

Closed
gnaggnoyil opened this issue Feb 23, 2016 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug languages-basic Basic language support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@gnaggnoyil
Copy link

I am using currently the latest VSCode version(0.10.8) with 'Dark+ (default dark)' color scheme and the piece of C++ code in the picture below produces wrong syntax highlighting results for following class/struct declarations/definations and endif macros(define, include, if and ifdef macros are not affected though).

wrong syntax highlighting result

Changing foo::bar to somthing that does not use '::' will make all the wrong syntax highlighting results normal again.

@aeschli aeschli changed the title C++: wrong syntax highlighting results when using decltype and '::'-specfied names in templates [c++] wrong syntax highlighting results when using decltype and '::'-specfied names in templates Mar 7, 2016
@aeschli
Copy link
Contributor

aeschli commented Mar 7, 2016

This issue was moved to textmate/c.tmbundle#37

@aeschli aeschli closed this as completed Mar 7, 2016
@aeschli aeschli reopened this Mar 7, 2016
@aeschli aeschli added languages-basic Basic language support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) bug Issue identified by VS Code Team member as probable bug labels Mar 7, 2016
@aeschli aeschli added this to the Backlog milestone Mar 7, 2016
@aeschli
Copy link
Contributor

aeschli commented Feb 23, 2017

Looks like syntax in angle brackets is not correctly tokenized.
Please file this against https://github.com/atom/language-php

@aeschli aeschli closed this as completed Feb 23, 2017
@gnaggnoyil
Copy link
Author

I'm sorry, but I did not understand. Why is this to be filed against a PHP language supporter?

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug languages-basic Basic language support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants