Intellisense is not working with marco

Sysprogs forums Forums VisualGDB Intellisense is not working with marco

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32341
    wtywtykk
    Participant

    Hi,

    I have a marco to achieve some template-like function, but the whole intellisense(clang) is down after I added it. I can’t goto definition and I’m not getting highlights for functions. Only basic keywords like “return” is working.

    The code is something like

    #define FUNC_HANDLER(x,y,z)\
    
    case x:\
    
    do{\
    
    some_function1();\
    
    some_func2();\
    
    while(0)
    
     
    
    switch(iii)
    
    {
    
    FUNC_HANDLER(aaa,bbb,ccc);
    
    FUNC_HANDLER(ddd,eee,fff);
    
    }

     

    but if I put case and FUNC_HANDLER in the same line, it’s working. Do you know what’s the difference and why it’s not responding instead of repoerting some errors?

     

    • This topic was modified 2 years, 9 months ago by wtywtykk.
    Attachments:
    You must be logged in to view attached files.
    #32345
    support
    Keymaster

    Hi,

    No problem, this function layout indeed triggered a bug in the Outline view, preventing other IntelliSense functionality from working. We have fixed it in this build: VisualGDB-5.6.104.4543.msi

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