T O P I C R E V I E W |
Mike ONeill |
Posted - Dec 19 2011 : 12:46:28 AM 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 |
6 L A T E S T R E P L I E S (Newest First) |
Mike ONeill |
Posted - Oct 07 2013 : 03:27:34 AM Thanks one and all , it works loverly !!
Mike |
support |
Posted - Sep 25 2013 : 4:35:07 PM case=27628 is implemented in build 2001. |
accord |
Posted - Dec 20 2011 : 8:25:04 PM *ah* Thanks. I work with C++. |
Mike ONeill |
Posted - Dec 20 2011 : 12:24:17 AM 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 |
Mike ONeill |
Posted - Dec 20 2011 : 12:19:30 AM

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 |
accord |
Posted - Dec 19 2011 : 8:02:14 PM 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  |