我无法在Windows-10 Pro上的VB.NET 2017 Pro文本编辑器中禁用自动缩进

我无法在Windows-10 Pro上的VB.NET 2017 Pro文本编辑器中禁用自动缩进,vb.net,visual-studio,Vb.net,Visual Studio,每当我更改此代码示例的缩进时,当我将光标移到刚刚缩进的行之外后,缩进将恢复到上一个缩进 ' 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 Cla

每当我更改此代码示例的缩进时,当我将光标移到刚刚缩进的行之外后,缩进将恢复到上一个缩进

' 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
例如,如果我在第行更改缩进:

    <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
”此接口连接到与Inheco Thermoshake接口的DLL(Visual C++“非托管”InhecoMTCdll.DLL)。
导入System.Runtime.InteropServices
ECO_热交换_接口模块
公共类本地方法
'DLL中的函数:
'公共int FindTheUniversalControl(int ID);
'对应的VB.NET声明:
公共共享子FindTheUniversalControl(ByRef ID为Int32为Int32
端接头
末级
端模块

VS工具菜单>选项>文本编辑器>基本>高级>编辑器帮助部分>漂亮..=OFF