Bug 672 - Allow swapping of type from var to strongly typed name.
Summary: Allow swapping of type from var to strongly typed name.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8 Alpha 2
Hardware: All All
: Low enhancement
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2011-09-07 18:01 UTC by Chris Hardy [MSFT]
Modified: 2015-08-20 03:24 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Chris Hardy [MSFT] 2011-09-07 18:01:15 UTC
Possibility to right click on the keyword 'var' and say 'replace by type'.
It will replace:
var a = "string"
string a = "string";
Comment 1 Mikayla Hutchinson [MSFT] 2011-09-07 19:05:23 UTC
This is implemented in Mike's newresolver branch (it was on master briefly at the beginning of June, until it was pulled).
Comment 2 Mike Krüger 2011-09-08 02:32:02 UTC
it's implemented and will be merged before 2525.

It's one of my favorite features :)
Comment 3 Mike Krüger 2012-02-06 08:22:40 UTC
Closing - it' snow activated again in the newresolver branch. 

However not as context action (They'll be in later releases) - but as refactoring command.