我无法在Windows-10 Pro上的VB.NET 2017 Pro Text Editor中禁用auto-INDENT

时间:2017-07-24 22:27:51

标签: vb.net visual-studio

每当我更改此代码示例的缩进时,在将光标移动到刚缩进的行之后,缩进就会快速回到上一个缩进。

例如,如果我在线改变缩进:

    <DllImport("InhecoMTCdll.dll")>

..然后将光标移开线,它会快速回到上一个缩进。

' This interfaces to the DLL (Visual-C++ 'unmanaged' InhecoMTCdll.dll) that interfaces with the Inheco Thermoshake.

Imports System.Runtime.InteropServices

Module Inheco_Thermoshake_interface

  Public Class NativeMethods

    ' Function within DLL:  
    ' Public int FindTheUniversalControl(int ID);
    ' Corresponging VB.NET declaration:
    <DllImport("InhecoMTCdll.dll")>
    Public Shared Sub FindTheUniversalControl(ByRef ID As Int32 As Int32

    End Sub  

  End Class

End Module

1 个答案:

答案 0 :(得分:0)

VS Tools菜单&gt;选项&gt;文本编辑器&gt;基本&gt; Adv ..&gt;编辑器帮助部分&gt;漂亮.. =关闭