在Monodevelop中格式化代码的快捷方式? [英] Shortcut for formatting code in Monodevelop?

查看:168
本文介绍了在Monodevelop中格式化代码的快捷方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Monodevelop中是否可以使用键绑定来格式化代码? 在MonoDevelop中设置格式代码声称您可以使用 Control + ,但似乎无法正常工作.

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.

推荐答案

我发现的唯一解决方法是

The only workaround I discovered is under

Tools->Options->Text Editor->Behavior

您可以选中选项Format document on save,该选项可让您使用 Control + s 来保存和格式化代码.

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

这篇关于在Monodevelop中格式化代码的快捷方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆