Home > Software design >  MacOS: VSCode C/C intellisense fails to deduce types
MacOS: VSCode C/C intellisense fails to deduce types

Time:03-01

MacOS Catalina 10.15.7, VSCode 1.64.2 (Universal) :I had the intellisense working for my project without problems, but then for whatever reason it has stopped working in some cases:
whenever I assign something to an 'auto variable', for example: auto val = (float)foo; I'd get intellisense error: int val: explicit type is missing ('int' assumed)C/C (260).
Class enums are not recognised as they should, so I can't use EnumClass::Enum or get any enum-related autocomplete support.
Those are the most reoccuring problems, but I'd say the intellisense generally doesn't work properly.
I removed everything related to VSCode (using this: UI based setting screenshot

  • Related