Skip to content

C11 keywords support #6022

Description

In the current version of the extension, support for C11 keywords such as _Alignas, _Alignof, _Generic, etc. is quite weird:

  1. C11 keywords with arguments are not colored like keywords, but like "function calls" by the semantic colorizer engine.
  2. Most C11 keywords are not suggested by intellisense, although they are evaluated by the "floating snippet".
  3. The keyword _Atomic is actually suggested by intellisense, but it is treated like plain text, so colorization is again wrong.

The screenshot below shows all the problems I've encountered.
Settings that might take part in this:
"C_Cpp.default.cStandard" = "c18"
"C_Cpp.default.intelliSenseMode": "clang-x64" (but it is the same with gcc-x64)

Schermata da 2020-08-25 18-42-11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions