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
 Incorrect autocompletion with reference to array
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

_NN_
New Member

6 Posts

Posted - Jul 12 2012 :  1:20:36 PM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - Jul 12 2012 :  5:23:54 PM  Show Profile  Reply with Quote
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.

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

_NN_
New Member

6 Posts

Posted - Jul 15 2012 :  05:26:57 AM  Show Profile  Reply with Quote
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.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - Jul 16 2012 :  10:28:47 AM  Show Profile  Reply with Quote
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.

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

_NN_
New Member

6 Posts

Posted - Jul 16 2012 :  10:50:32 AM  Show Profile  Reply with Quote
Wow, didn't know this. Thanx
Personally I have never used VA Outline.
I like class view more.

But I see I was wrong :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19177 Posts

Posted - Jul 16 2012 :  11:22:28 AM  Show Profile  Reply with Quote
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.

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