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 from Usage Suggestion
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mike ONeill
Tomato Guru

South Africa
103 Posts

Posted - Dec 19 2011 :  12:46:28 AM  Show Profile  Reply with Quote
Hi

I created a line

test = new Test();

Obvioulsy bum syntax , but the start of a declaration.

When I hover over the second an pick the refactoring icon , there is NO option to Create a Stub Class Test , the offering is to make a Method

VS Auto Tags shows an option to Create A Class Test

Thoughts ?

Mike

accord
Whole Tomato Software

United Kingdom
3277 Posts

Posted - Dec 19 2011 :  8:02:14 PM  Show Profile  Reply with Quote
Create from usage shouldn't be offered here:

case=63470

We are considering to support a "create class" refactoring in situations like this, probably as part of create from usage:

case=27628

Out of interest: what is VS Auto Tags? Is it a Visual Studio extension or a default feature? Can you please post a screenshot about how it works? Or if it's an extension, maybe a link to it would be cool
Go to Top of Page

Mike ONeill
Tomato Guru

South Africa
103 Posts

Posted - Dec 20 2011 :  12:19:30 AM  Show Profile  Reply with Quote




Try this text

Hover over the Dog and a smalll blue underscore appears , click on it and the context menu occurs

I have always assumed they are VS standard . The only significant add in is VAX , even the Productivity Power Tools are disabled to show this and this is a new PC so no "long lost legacies".

I have seen them referred to as Smart Tags maybe there is an offiical name that I don't know of.

They seem to the equivalent of the inverted triangle VAX Refactor icon

They appear when "useful things" are available

You notice its doing exactly what I am suggesting , offering to create the "Missing" class on the fly.

This is in VS2010 Ultimate but I am sure I saw it in VS2010 Pro as well before I upgraded.

Cheers

Mike
Go to Top of Page

Mike ONeill
Tomato Guru

South Africa
103 Posts

Posted - Dec 20 2011 :  12:24:17 AM  Show Profile  Reply with Quote
Looks like they have been around a while from this post

Called Smart Tags not Auto Tags

http://haacked.com/archive/2008/06/23/visual-studio-smart-tag-expansion-tip.aspx

Mike
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3277 Posts

Posted - Dec 20 2011 :  8:25:04 PM  Show Profile  Reply with Quote
*ah* Thanks. I work with C++.
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Sep 25 2013 :  4:35:07 PM  Show Profile  Reply with Quote
case=27628 is implemented in build 2001.
Go to Top of Page

Mike ONeill
Tomato Guru

South Africa
103 Posts

Posted - Oct 07 2013 :  03:27:34 AM  Show Profile  Reply with Quote
Thanks one and all , it works loverly !!

Mike
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000