Clang Intellisense bug

Sysprogs forums Forums VisualGDB Clang Intellisense bug

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23163
    MystikReasons
    Participant

    Im using your Clang Intellisense with my STM32F411RE microcontroller in an C++11 environment with the newest version VisualGDB 5.4 Beta 1.

    I have a class and in this class a struct.

    class BM280
    {
    
    public:
    struct BM280_Options
    {
    void Reset();
    void Enable3WireSPI();
    void Disable3WireSPI();
    void SetStandbyTime(uint8_t standbytime);
    void SetTimeConstant_IIRFilter(uint8_t timeconstant);
    };
    
    };

    In my .cpp file Im defining my functions which are inside of the struct for example: Enable3WireSPI()

    void BM280::BM280_Options::Enable3WireSPI()
    {
    }

    Now the bug:

    If I now write void BM280::BM280_Options::       the auto complete is only giving me one option: BM280_Options

    Instead of Reset or Disable3WireSPI or SetStandbyTime etc.

    I only can assume this is a bug

    • This topic was modified 5 years, 12 months ago by support. Reason: formatting
    #23169
    MystikReasons
    Participant

    Update: Now it seems to work. Maybe it was a glitch or something

    You can close this thread.

    #23171
    support
    Keymaster

    Hi,

    No problem. Most likely VisualGDB cached some older version of the member list and was displaying it instead. This could be caused by incorrect clock settings (VisualGDB uses timestamps to determine which parts of the IntelliSense cache need to be updated), or cache corruption. Either way, closing the solution and deleting the CodeDB folder should normally clear the IntelliSense cache and resolve this type of problem.

    If you encounter it again, please let us know the repro steps and we will reinvestigate this.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.