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

Highlight 2nd namespace when nested #3023

Closed
pgbarletta opened this issue Jan 10, 2019 · 4 comments
Closed

Highlight 2nd namespace when nested #3023

pgbarletta opened this issue Jan 10, 2019 · 4 comments

Comments

@pgbarletta
Copy link

Type: LanguageService
Super minor, and annoying, feature request.

  • OS and Version: Neon KDE 5.14.4 (kernel 4.18)
  • VS Code Version: 1.30.1
  • C/C++ Extension Version: 0.20.1

Screenshots

multiline
nested

Additional context
My c_cpp_properties.json:

{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "${workspaceFolder}/**",
                "/home/pbarletta/labo/ANA/include",
                "/usr/local/fmt-5.2.1/include",
                "${workspaceFolder}/include",
                "/usr/lib",
                "/usr/local/lib",
                "/usr/lib/x86_64-linux-gnu",
                "/usr/include/x86_64-linux-gnu"
            ],
            "defines": [],
            "compilerPath": "/usr/local/clang+llvm_7.0.0/bin/clang++",
            "intelliSenseMode": "clang-x64",
            "browse": {
                "path": [
                    "${workspaceFolder}"
                ],
                "limitSymbolsToIncludedHeaders": true,
                "databaseFilename": ""
            },
            "cStandard": "c11",
            "cppStandard": "c++17",
            "configurationProvider": "vector-of-bool.cmake-tools"
        }
    ],
    "version": 4
}
@sean-mcmanus
Copy link
Collaborator

sean-mcmanus commented Jan 11, 2019

Our extension doesn't implement colorization. It looks like it will be fixed once VS Code switches to the atom/language-c tree sitter implementation: microsoft/vscode#50140 .

image

@pgbarletta
Copy link
Author

pgbarletta commented Jan 11, 2019 via email

@sean-mcmanus
Copy link
Collaborator

This has been fixed with the latest VS Code -- all the namespaces are non-highlighted.

@sean-mcmanus
Copy link
Collaborator

Actually, the fix is in VS Code Insiders (not VS Code, unless you install the Better C++ Syntax extension).

@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants