【问题标题】:Visual Studio 2013 - How to turn off auto-indentation in code editor?Visual Studio 2013 - 如何在代码编辑器中关闭自动缩进?
【发布时间】:2014-07-14 12:31:42
【问题描述】:

How to make word wrap respect indentation in Visual Studio? 中有一篇关于使用“智能”自动换行的 Visual Studio 的帖子

但是 - 这是个人喜好,并且在某些情况下会使代码更难以阅读。

在 Visual Studio 2013 中 - 此自动缩进是默认行为。

您如何在 Visual Studio 2013 中将其关闭?所以我们让自动换行回到以前的方式 - 全部左对齐?

Visual Studio 选项中似乎没有选项,或者我可能遗漏了一些东西。如果 Visual Studio 选项中缺少它,是否有人知道将重置此自动缩进的加载项?

【问题讨论】:

  • 我在 VS 2017 中仍然想要这个。换行回到第一列。

标签: visual-studio-2013


【解决方案1】:

我有 VS2010 但试试这个:

Options/Text Editor/C#/Tabations 然后在标识块选择none

PS。您必须展开选项,如果您选择文本编辑器,它将仅显示文本编辑器的常规选项。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-05-01
    • 1970-01-01
    • 2016-06-02
    • 1970-01-01
    • 2020-06-14
    • 2014-07-09
    • 2020-12-07
    • 2021-05-10
    相关资源
    最近更新 更多