Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 15xx: Iterators + other problems

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
mackomilos Posted - Sep 05 2006 : 05:20:16 AM
I cannot reproduce the problem all the time, but it appears more and more often. The problem resides in auto-inserting round brackets after autocompleting the iterator member (such as screenshots say). It seems that it is caused by inproper recognization of typed text (as you can see, the member's icon is question mark, what is most likely wrong).
The IDE is VS2005, language C++, build of VA: 1534.

I'm typing this:



What will be inserted if I press enter



Also there is a significant problem with listbox containing suggested members. If I type first characters of some member/function (especially from global scope), it will provide me with meaningless offers and almost I have to type whole word! But I have the feeling that this was already discussed in another topic.
4   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 06 2006 : 7:03:37 PM
you have what i have on one test machine, the machine where i get this problem.
on a second test machine, where there is no problem, i get exactly 6 lines in HCB (the bottom of VAView) when hovering over const_iterator.

now all i need to do is try to work out what the difference between the two machines is. they are using an identical project for this test, since it is stored on a common network drive.

at least i know we are looking at the same thing, which is progress
mackomilos Posted - Sep 06 2006 : 05:40:20 AM
Thanks for your explanation on question mark, now it's clearer for me what these icons mean

Here are the screenshots you wished:

VAView from hovering the type const_iterator of vector<int> class:



VAView from hovering the variable of vector<int>::const_iterator type (the exact definition is: vector<int>::const_iterator const_buffer_iter), which is slightly different from previous one:



And finally screenshot from ALT+G while the cursor is on const_iterator of vector<int> class:



Also I have to mention that this problem sometimes doesn't occure after I create new project. But if I working on it during some period of time, the problem with brackets rises up and never dissapears. Neither reopening solution nor reopening Visual Studio does help.

If you want some more informations, just let me know.

Btw, just for information - as I already wrote in my previous post, I'm using build 1534
feline Posted - Sep 05 2006 : 4:12:58 PM
the behaviour of listboxes should be improved in the latest build, 1534, so it is worth upgrading to that if you are running an earlier version.
feline Posted - Sep 05 2006 : 4:10:47 PM
the question mark icon means that this is a suggestion listbox, so the icon does not tell you anything about the type of the item being suggested. see more information on suggestion lists here:

http://www.wholetomato.com/products/features/suggestion.html?more=yes

can you turn on VAView and hover the mouse over "const_iterator" in this example, and see what VAView shows you in the bottom section, the class view please? i am getting the brackets added on one test system, but not on a different test system. plus the two systems are giving quite different results in VAView for "const_iterator".

something seems to be going on with how the machines are configured, which i suspect is relevant to all of this.

plus what does alt-g on "const_iterator" do on your machine?

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000