Shortcut for formatting code in Monodevelop?

后端 未结 2 631
借酒劲吻你
借酒劲吻你 2021-02-13 18:30

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.<

相关标签:
2条回答
  • 2021-02-13 19:10

    Tools->Options->Key Bindings

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

    enter image description here

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

    0 讨论(0)
  • 2021-02-13 19:35

    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.

    0 讨论(0)
提交回复
热议问题