【问题标题】:Vistual Studio 2019: Shortcut key to collapse this method onlyVisual Studio 2019:仅折叠此方法的快捷键
【发布时间】:2020-03-30 01:07:15
【问题描述】:

如何仅折叠光标当前位于 VS2019(Windows) 内其块中的当前方法?

我知道Ctrl+M,Ctrl+O,但我想要只折叠一种方法而不是更多的快捷方式。

【问题讨论】:

标签: c# visual-studio ide visual-studio-2019


【解决方案1】:

请使用下面的快捷方式折叠一种方法 CTL+M+M

【讨论】:

    【解决方案2】:

    你可以使用Ctrl+M+M,解决你的问题

    【讨论】:

      【解决方案3】:

      CTL+M+M 仅折叠光标闪烁的方法。 This other thread has more information on Visual Studio shortcuts.

      【讨论】:

        【解决方案4】:

        您可以使用 ctrl + shift + [,这可能会起作用

        【讨论】:

        • 我在其他问题中看到过,但我不知道为什么这个在我的 IDE 中什么都不做
        • 试试 ctrl + m 和 ctrl + o
        猜你喜欢
        • 2012-05-10
        • 2023-03-10
        • 2017-02-04
        • 1970-01-01
        • 2010-10-25
        • 2011-02-27
        • 1970-01-01
        • 1970-01-01
        • 2015-03-01
        相关资源
        最近更新 更多