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

 All Forums
 Visual Assist
 Technical Support
 Why headers vanished after rename?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mosg
New Member

Russia
3 Posts

Posted - Oct 17 2011 :  07:43:03 AM  Show Profile  Reply with Quote
Hello!

I'm using VA 10.4.1647.0 build 2008.07.30 with VS2008. Added Qt4 include dirs to VA options (like VA Options -> Projects -> C/C++ Directories -> Platform "Custom"). After appending new Qt dir I restart studio to give VA to rebuild headers indexes. When I have open my solution everything is ok, until the moment when I rename any methods/values with VA (right_click -> Refactor(VA X) -> Rename...). After renaming Qt headers lost and I have to restart visual studio again (to made new indexes rebuild)... Why is that happening?

Any help would be useful! Thanks!

/* May all your PUSHs be POPed */

feline
Whole Tomato Software

United Kingdom
18950 Posts

Posted - Oct 17 2011 :  1:34:56 PM  Show Profile  Reply with Quote
What do you mean by lost?

If you go back into VA options dialog, are the Qt directories still listed in your stable include directories?
How do you know VA has lost Qt? What problems are you seeing?

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

mosg
New Member

Russia
3 Posts

Posted - Oct 18 2011 :  05:32:50 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

What do you mean by lost?

If you go back into VA options dialog, are the Qt directories still listed in your stable include directories?
How do you know VA has lost Qt? What problems are you seeing?



I mean that auto filling of the Qt includes lost. Qt directories still listed in "Custom" include list, but visual studio stops show me tips when I type first symbols of methods/types.

Here is example image:



I'm typing first letters of "QString" word (this is standard Qt string type), but VA doesn't filling it, VA show only unnecessary definitions.

I can repair this situation, just again open VA options, select Platform "Custom", made some small changes, save it, restart IDE and reindexing restarted - then auto filling starts work again, till the moment, when I again do some refactor/rename operations...


/* May all your PUSHs be POPed */
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18950 Posts

Posted - Oct 18 2011 :  11:39:24 AM  Show Profile  Reply with Quote
This is a suggestion listbox, VA is making a guess at what you are typing. Since this is a guess, it can change, and it does not attempt to show everything. If you press CTRL-SPACE to expand this into a full listbox, are the Qt symbols listed correctly?

If you turn on:

VA Options -> Advanced -> Fonts and Colors -> Stable symbols in Italic

are the Qt symbols shown in italic? Are they still shown in italic after doing a rename?

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

mosg
New Member

Russia
3 Posts

Posted - Oct 20 2011 :  03:14:55 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

This is a suggestion listbox, VA is making a guess at what you are typing. Since this is a guess, it can change, and it does not attempt to show everything. If you press CTRL-SPACE to expand this into a full listbox, are the Qt symbols listed correctly?

If you turn on:

VA Options -> Advanced -> Fonts and Colors -> Stable symbols in Italic

are the Qt symbols shown in italic? Are they still shown in italic after doing a rename?



Strange things happening, while I tried your hints (about CTRL-SPACE & etc), somehow I fixed the problem. One off the actions was removing from VA Options, from stable source files line with $QTDIR\\src value. Then every starts work fine, but if I open another studio, not Qt symbol will shown... Today-tomorrow I will test VS and after that will post here additional comments.

Thanks.

/* May all your PUSHs be POPed */
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18950 Posts

Posted - Oct 20 2011 :  6:20:12 PM  Show Profile  Reply with Quote
Can you try comparing your stable include settings for Qt to the ones given here:

http://blog.wholetomato.com/2008/11/20/using-qt-44-with-visual-assist-x/

this might offer some clues.

Suggestion listboxes can be "random", since they are guesses, but stable symbols in italic should be reliable and consistent. Either Qt symbols will be in italic or they won't.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000