Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Incorrect autocompletion with reference to array

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
_NN_ Posted - Jul 12 2012 : 1:20:36 PM
Header:

class A
{
public:
void F(unsigned a, unsigned char (&b)[10]);
};

Source file:

void F( <- Here

If you continue with auto completion you get following

void F(unsigned a, unsigned char..

instead of full signature
5   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 16 2012 : 11:22:28 AM
VA, like may tools, has a lot of features, so it takes time to get used to all of them

You can drag and drop one or more functions using VA Outline, or cut and paste using the keyboard. If you turn off showing comments then VA Outline will pick up and move any attached comment with the function. Hopefully this will help, and if you have any questions about VA Outline, or any other part of VA, please just ask.
_NN_ Posted - Jul 16 2012 : 10:50:32 AM
Wow, didn't know this. Thanx
Personally I have never used VA Outline.
I like class view more.

But I see I was wrong :)
feline Posted - Jul 16 2012 : 10:28:47 AM
That makes sense, I have put in a bug report for this:

case=67849

Are you aware you can use VA Outline to reorder the functions in your cpp file?

http://www.wholetomato.com/products/features/vaoutline.asp

This will help you to keep the functions in the cpp file in the same order as the header file, but it does have to be done manually.
_NN_ Posted - Jul 15 2012 : 05:26:57 AM
Yes, I am aware.
But I wanted the described feature.

Using Create Implementation you cannot specify where you want your function to be placed in source file.

I prefer that function order in header and in source is the same.
feline Posted - Jul 12 2012 : 5:23:54 PM
Are you aware of the Create Implementation refactoring command?

http://www.wholetomato.com/products/features/createImplementation.asp

Create Implementation is working correctly in this case for me, and is a lot less typing.

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