Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Two bugs?

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
znakeeye Posted - Jul 31 2008 : 04:12:22 AM
Two things.

#1
I've seen this before. Alt+G stops working in our huge solution and I fire up a new project to test and see if VAX is somehow broken. Then it works, of course! So, I go back to my huge solution and try it again. This time it works. Strange...

VAX 1646, VS 2008, "Parse files on startup" disabled.

#2
AfxMessageBox("Test"); // Alt+G
Options:
appui1.cpp:144
appui1.cpp:157
afxwin.h:5375 // Wrong order!
afxwin.h:5373 // These two should be sorted correctly!

As you can see, the order of the headers and source files do not match!
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 31 2008 : 10:13:03 AM
Problem 1, since parse all files on startup is turned off alt-g will not always work. Alt-g has to know where to jump to, but that requires VA having parsed the destination. If VA has not parsed the destination then it will not know about it.

I don't know if that is a factor in what you are seeing or not. Does it seem to be a factor, based on what you are seeing?

Problem 2, you are making an assumption here. You are assuming that the header file and the cpp file should be listed in the same order. This is a debatable assumption.

Currently VA does not know how to match up the declaration and implementation for an overloaded function, so it cannot make sure that they are automatically placed in the "correct" order.

So you can make the assumption that the declarations and the implementations are always in the same order, but I see no reason to assume that this is going to be the case in general.

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