Bug 2052 - Surround With is not bindable to a keyboard shortcut
Summary: Surround With is not bindable to a keyboard shortcut
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8 Alpha 2
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-11-16 09:56 UTC by Alan McGovern
Modified: 2012-04-15 03:52 UTC (History)
3 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Alan McGovern 2011-11-16 09:56:51 UTC
Is it possible to set key binding for "Surround With..."?I've not found this in settings...MonoDevelop: 2.8.2Runtime: Mono 2.10.6 (tarball Fri Sep 16 00:13:06 EDT 2011)Operating System: Mac OSX (Unix 10.8.0.0)Distributor: Xamarin
Comment 2 Mikayla Hutchinson [MSFT] 2011-11-16 11:30:23 UTC
Yes. It's the "Insert Template" command. It turns into "Surround With" when you have a selection.
Comment 3 Alan McGovern 2011-11-16 12:24:25 UTC
How is anyone supposed to know that Insert Template actually means Surround With? I didn't know that and the user didn't either. It sounds like we can resolve this by renaming the command to 'Insert Template/Surround With'. Does that sound good?
Comment 4 Mikayla Hutchinson [MSFT] 2011-11-16 15:16:29 UTC
The command name in the menu changes contextually.

We could fix this issue by simply giving the command a *description* which would allow searching for it in the keybinding editor.
Comment 5 Mike Krüger 2012-04-15 03:52:17 UTC
The description idea is the best way to fix that I think.
I added a description which should make it clearer.