Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Allow displaying forbidden suggestions
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Junior Member

10 Posts

Posted - May 05 2020 :  10:13:18 AM  Show Profile  Reply with Quote
When typing

const std::vector<int> a;

I dont't get a suggestion for push_back, because a is const.

If I remember correctly, older VA-Versions did display these "forbidden" suggestions - but I don't find any settings to bring them back.

Its unquestionably super useful to be reminded, that they are forbidden (grayed out / red warning / ... ), but it would also be useful to see the whole interface (at least if desired via settings)

Edited by - Kastenfrosch on May 05 2020 10:14:00 AM

Whole Tomato Software

United Kingdom
18431 Posts

Posted - May 05 2020 :  12:19:44 PM  Show Profile  Reply with Quote
How do you have:

VA Options -> Enhanced Listboxes -> Source of C/C++ content: Visual Assist OR Default Intellisense

set? Currently VA does not work out which functions are currently available, so I suspect that the IDE intellisense is active here, and is filtering out these functions. If so, they should be shown when you set the source of intellisense to Visual Assist.

zen is the art of being at one with the two'ness
Go to Top of Page

Junior Member

10 Posts

Posted - May 05 2020 :  1:01:06 PM  Show Profile  Reply with Quote
You're totally right.

"Default Intellisense" was activated and after switching to "Visual Assist", everything worked perfectly again.

(Alternatively it could be deactivated within the Intellisense Options)

Thanks a lot.

Edited by - Kastenfrosch on May 05 2020 1:06:05 PM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000