Bug 3856 - Add a default key binding for Format Document
Summary: Add a default key binding for Format Document
Status: RESOLVED FEATURE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-03-12 10:37 UTC by Joseph Hill
Modified: 2012-04-03 09:30 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 FEATURE

Description Joseph Hill 2012-03-12 10:37:48 UTC
Add a shortcut key assignment in MD to Edit/Format/Format Document

In VS 2010 it's CTRL K,D
Comment 1 Mike Krüger 2012-03-30 09:34:53 UTC
All commands are bindable. 

Atm we don't support vs net like key combinations and are running out of bindable hotkeys therefore, that's why it's hard do find a key for that.
(Maybe the request should be do a vs.net like hotkey system ?)


The 'plan' is to never need the format document feature and let the on the fly formatter do it - in the 2.9.x alphas it's already turned on as default.
Comment 2 Mikayla Hutchinson [MSFT] 2012-04-02 16:45:57 UTC
Minor correction: it *is* possible to bind "chords" such as CTRL K,D

But I don't know what binding we should use on OS X, since Cmd-K is "build" and Ctrl-K is "kill line".
Comment 3 Mike Krüger 2012-04-03 09:30:32 UTC
we're running out of key combos :(