Shortcut for formatting code in Monodevelop?

孤街浪徒 提交于 2019-12-21 03:59:19

问题


Is there a way to format code using a keybinding in Monodevelop? Format Code In MonoDevelop claims you can use Control + I but it does not appear to work.


回答1:


The only workaround I discovered is under

Tools->Options->Text Editor->Behavior

You can check the option Format document on save which lets you use Control+s to save and format code.




回答2:


Tools->Options->Key Bindings

Scroll to 'Edit' section and give a keybinding to the 'Format Document' command

Brownie points for whoever guesses what IDE I'm used to :D



来源:https://stackoverflow.com/questions/20915666/shortcut-for-formatting-code-in-monodevelop

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!