File tree 4 files changed +9
-2
lines changed
4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1197
1197
"description" : " %mssql.intelliSense.lowerCaseSuggestions%" ,
1198
1198
"scope" : " window"
1199
1199
},
1200
+ "mssql.intelliSense.setQueryEditorLanguageToNone" : {
1201
+ "type" : " boolean" ,
1202
+ "default" : false ,
1203
+ "description" : " %mssql.intelliSense.setQueryEditorLanguageToNone%" ,
1204
+ "scope" : " window"
1205
+ },
1200
1206
"mssql.persistQueryResultTabs" : {
1201
1207
"type" : " boolean" ,
1202
1208
"default" : false ,
Original file line number Diff line number Diff line change 100
100
"mssql.intelliSense.enableQuickInfo" :" Should IntelliSense quick info be enabled" ,
101
101
"mssql.enableQueryHistoryFeature" :" Should Query History feature be enabled" ,
102
102
"mssql.intelliSense.lowerCaseSuggestions" :" Should IntelliSense suggestions be lowercase" ,
103
+ "mssql.intelliSense.setQueryEditorLanguageToNone" :" Should the editor language be set to None when a query editor is opened." ,
103
104
"mssql.persistQueryResultTabs" :" Should query result selections and scroll positions be saved when switching tabs (may impact performance)" ,
104
105
"mssql.queryHistoryLimit" :" Number of query history entries to show in the Query History view" ,
105
106
"mssql.createAzureFunction" :" Create Azure Function with SQL binding" ,
Original file line number Diff line number Diff line change @@ -875,7 +875,7 @@ export default class ConnectionManager {
875
875
// lewissanchez flag: May need to check intellisense enabled setting here
876
876
const configuration = vscode . workspace . getConfiguration ( Constants . extensionConfigSectionName ) ;
877
877
const intelliSenseConfig = configuration . get < IntelliSenseConfig > ( Constants . configIntelliSense ) ;
878
- const flavor = intelliSenseConfig . enableIntelliSense ? Constants . mssqlProviderName : Constants . noneProviderName ;
878
+ const flavor = intelliSenseConfig . setQueryEditorLanguageToNone ? Constants . noneProviderName : Constants . mssqlProviderName ;
879
879
this . statusView . languageFlavorChanged ( fileUri , flavor ) ;
880
880
this . statusView . connecting ( fileUri , connectionCreds ) ;
881
881
this . statusView . languageFlavorChanged ( fileUri , flavor ) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { AzureAuthType } from './contracts/azure';
11
11
12
12
// interfaces
13
13
export interface IntelliSenseConfig {
14
- enableIntelliSense : boolean ;
14
+ setQueryEditorLanguageToNone : boolean ;
15
15
}
16
16
17
17
export enum ContentType {
You can’t perform that action at this time.
0 commit comments