Bug 5127 - Refactor has stopped working
Summary: Refactor has stopped working
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
Depends on:
Reported: 2012-05-16 14:00 UTC by Neal
Modified: 2012-05-18 02:30 UTC (History)
1 user (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 Neal 2012-05-16 14:00:34 UTC

I have all latest stable installed and after installing MD 3 the refactoring features are not working.  I select all "using" statements to organize/sort them, those menus are no longer available.  When I select a field to rename it I don't get refactoring menus either.  I know this worked initially, now it seems to have stopped.

MonoDevelop 3.0 (3.0.1)
	Mono 2.10.9 (tarball Mon May  7 20:25:51 EDT 2012)
	GTK 2.24.10
	GTK# (
	Package version: 210090011
Apple Developer Tools:
	 Xcode 4.3.2 (1177)
	 Build 4E2002
Monotouch: 5.2.11
Mono for Android:
Comment 1 Mikayla Hutchinson [MSFT] 2012-05-16 14:38:20 UTC
I still see the rename command for fields, so you have an example where this does not work?

Organize/sort using is not a context action, available only when experimental source analysis is enabled. I wonder if we could make more context actions accessible even when background analysis is disabled...
Comment 2 Neal 2012-05-16 16:06:15 UTC

In preparing to take a screen capture I see the issue.  If I double-click the field to select it and then right-click I do not get the refactor menu option.  If I simply click into the field then it will give the menu item.

I had organize usings previously, I'll check the preferences to figure out how to turn whatever I need back on to bring back this very basic and much needed feature.

Comment 3 Mikayla Hutchinson [MSFT] 2012-05-16 16:19:03 UTC
Ah, I can reproduce that refactoring/navigation commands are not available for a field selected where it's declared. Oddly, it works on references to the field in method bodies.
Comment 4 Mike Krüger 2012-05-18 02:30:17 UTC
Refactoring doesn't work with selections - just right click on the field - then you save the double click.

I fixed the issue with selections /closed