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
 Create Declaration
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

plabrie
New Member

9 Posts

Posted - Dec 03 2009 :  12:26:45 PM  Show Profile  Reply with Quote
I have a problem with this refactor method. It doesn't seems to have a snippet to customize it, and if i look on the website, it seems to behave properly, but if I do it, it create the declaration, but it does eg.
void ClassName::Function();

where I want
void Function();

Any Idea ?

Thank you.

*moved by feline to correct section*

Edited by - feline on Dec 03 2009 2:17:53 PM

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Dec 03 2009 :  2:20:17 PM  Show Profile  Reply with Quote
I would need to see some sample code that reproduces this problem before I could comment.

VA should remove the class name on the new declaration if the declaration has been placed into the class scope. I am wondering if some C++ macros are confusing the issue.

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

plabrie
New Member

9 Posts

Posted - Dec 09 2009 :  10:22:21 PM  Show Profile  Reply with Quote
Sorry for the delay. I finally made a small example. Here:

.hpp
#ifndef __SPACESHIP_HPP_
#define __SPACESHIP_HPP_

namespace Game
{
    class SpaceShip
    {
    public:
        SpaceShip();
    };
}

#endif

.cpp
#include "SpaceShip.hpp"


namespace Game
{
    SpaceShip::SpaceShip()
    {

    }

    SpaceShip::Allo()
    {

    }
}



Now, on
SpaceShip::Allo()
I use Refactor-> Create Declaration

This is now the .hpp

#ifndef __SPACESHIP_HPP_
#define __SPACESHIP_HPP_

namespace Game
{
    class SpaceShip
    {
    public:
        SpaceShip();
        SpaceShip::Allo();
    };
}

#endif


Where I want only
Allo();
to be created.

Thank you.

Visual Assist X Version 10.5.1738.0

Edited by - plabrie on Dec 09 2009 10:23:16 PM
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 10 2009 :  03:55:16 AM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description:

case=6593
Go to Top of Page

plabrie
New Member

9 Posts

Posted - Mar 08 2010 :  8:02:17 PM  Show Profile  Reply with Quote
How long does it usually take before a similar bug is fixed ? I don't want to put any pressure. I am just curious and been hoping for a fix in the upcoming beta release since it's something I use on a daily basis.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Mar 09 2010 :  3:31:50 PM  Show Profile  Reply with Quote
I have increased the priority on this for you.

There is no general rule on how long bugs take to fix. We try to fix bugs as quickly as possible, but there are quite a few outstanding bug reports, and prioritising them is sometimes difficult.

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

plabrie
New Member

9 Posts

Posted - Dec 10 2011 :  02:57:31 AM  Show Profile  Reply with Quote
Is there any way to see the case tracking, and the others cases existing ? I was looking in the credits to find out how many developpers where working on the software but couldn't find my answer.

Thank you for the help. I really love visual assist and I hope it can keep going with the competition!
Go to Top of Page

plabrie
New Member

9 Posts

Posted - Dec 10 2011 :  02:59:10 AM  Show Profile  Reply with Quote
Nvm, I'm sorry. I just read
http://docs.wholetomato.com?W318&SearchTerms=case,track
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jun 03 2013 :  2:04:00 PM  Show Profile  Reply with Quote
case=6593 is fixed in build 1940
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 25 2013 :  4:38:36 PM  Show Profile  Reply with Quote
case=6593 nested namespace issue is fixed in build 2001.
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