1
0
mirror of https://github.com/alex-bochkov/ssms-addin.git synced 2025-11-23 22:04:53 +02:00

add poor man formatter

This commit is contained in:
Alex Bochkov
2019-12-01 14:23:48 -08:00
parent ff74fc44c8
commit ce44f59370
17 changed files with 857 additions and 109 deletions

View File

@@ -78,7 +78,23 @@ Namespace SettingManager
End Function
Function GetSQLParserType() As Boolean
Dim TSQLParserType As String = GetRegisterValue("TSQLParserType")
If String.IsNullOrEmpty(TSQLParserType) Then
Return False
End If
If TSQLParserType = "False" Then
Return False
Else
Return True
End If
End Function
Function SaveTemplatesFolder(Folder As String) As Boolean
@@ -92,6 +108,12 @@ Namespace SettingManager
End Function
Function SaveSQLParserType(TSQLParserType As Boolean) As Boolean
Return SaveRegisterValue("TSQLParserType", TSQLParserType.ToString())
End Function
'Function GetExcelExportFolder() As String
' Dim Folder As String = ""