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
 Feature Requests
 Comments on closing bracets of the IF stetements
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SnowBoy
Senior Member

Italy
32 Posts

Posted - May 11 2006 :  08:54:30 AM  Show Profile  Reply with Quote
It's possible to write automatically the conditions of the IF statements (and also other commands) as comments after the closing bracets?
For example:


    if (feature.isEnabled() && ....)
    {
       ... (a lot of lines here)
    } // (feature.isEnabled() && ... ) <-- add by Visual Assist X


This feature could be really helpful (at least for me :), especially when inspecting the code.

Thanks, SnowBoy

rhummer
Tomato Guru

USA
527 Posts

Posted - May 11 2006 :  10:12:19 AM  Show Profile  Reply with Quote
support has opted not to implement this.. It could come down the line but I'm not cetrain.

read this post with supports comment on the issue.

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=4300&SearchTerms=closing,brace

Tools Engineer - Raven Software
VS2005 SP2/VS2008 SP1 - VAX <LATEST> - Win 7 x64

Go to Top of Page

SnowBoy
Senior Member

Italy
32 Posts

Posted - May 11 2006 :  10:55:48 AM  Show Profile  Reply with Quote
Thank you for the answer.

I've used KingTools for a while, but they don't work with TestDriven.NET (I don't know why). So I think about a new feature of WAX.

Even if it's not the same, however, the [MOVE]scope works. I've only to get used to it...

By, Luca

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - May 15 2006 :  3:45:54 PM  Show Profile  Reply with Quote
from memory (it has been a while since I last re-read the article) aren't parts of the KingTools written as macro's? if so you may be able to extract the macro's from the code download and run some of them in the new IDE.

the basic problem is the same as faced by all addin's, it requires work to support each new IDE.

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

SnowBoy
Senior Member

Italy
32 Posts

Posted - Jun 05 2006 :  10:29:30 AM  Show Profile  Reply with Quote
Solved.
Just recompile KinTools with Visual Studio.

Then, with the latest release of testDriven.NET the two add-in work together.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jun 05 2006 :  3:08:34 PM  Show Profile  Reply with Quote
that is worth knowing thank you for posting your success with this.

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