Skip to content

Enhanced colorization and intellisense not working on Linux #4569

@SPAstef

Description

@SPAstef

Type: LanguageService
Describe the bug

  • OS and Version: Clear Linux 31520
  • VS Code Version: code-insiders-1.40.0-1573062522, tried also VS Code stable 1.39
  • C/C++ Extension Version: 0.26.1, tried also 0.26 and 0.25
  • Other extensions you installed (and if the issue persists after disabling them): Customize UI, Java Extension Pack, Italian language pack, markdown lint, Material Icon Theme, Material Theme, shell-format, Visual Studio IntelliCode. It does persist even on a clean installation of stable VS Code, with just cpptools.
  • A clear and concise description of what the bug is. Enhanced colorization doesen't work. With the exact same extensions, on Windows I get colored types, darkened not-defined code regions, etc. Also function hidden by a "#ifdef" condition, when exposed don't appear in the suggestion snippet, and when writing them down "by hand" their prototype is shown as "int foo(void)". I tried the vscode-ccls extension and it does work, so it's definetly an extension problem.

To Reproduce

  1. Go to a C/C++ source/header file
  2. Scroll down to any piece of code
  3. See error

Additional context
VS Code was installed via RPM. When launched the first time it used a weird monospaced font throughout the UI, so I had to install the Customize UI extension. Another problem I had was with the formatter, which I had to manually redirect to the correct clang-format binary in my /usr/bin directory. So this is probably the same problem: the extension ships with some integrated language server binary that for some reason doesen't work... I don't know if this is Clear Linux or VS Code's fault...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions