1
1
import vscode from 'vscode'
2
- import { extensionCtx , registerExtensionCommand , registerNoop } from 'vscode-framework'
3
- import { preserveCamelCase } from './features/preserveCamelCase'
2
+ import { extensionCtx , getExtensionSetting , registerExtensionCommand , registerNoop , setDebugEnabled } from 'vscode-framework'
4
3
import { registerAlwaysTab } from './features/specialTab'
5
4
import { registerTsCodeactions } from './features/tsCodeactions'
6
5
import { registerRegexCodeActions } from './features/regexCodeactions'
@@ -13,7 +12,7 @@ import { registerAutoAlignImport } from './features/alignImport'
13
12
import { registerStatusBarProblems } from './features/statusbarProblems'
14
13
import { registerNextLetterSwapCase } from './features/nextLetterSwapCase'
15
14
import { registerFixCss } from './features/fixCss'
16
- import { registerInsertAutoCompletions } from './features/insertAutoCompletions '
15
+ import { registerInsertCompletions } from './features/insertCompletions '
17
16
import { registerCopyVariableName } from './features/copyVariableName'
18
17
import { registerSignatureCompletions } from './features/signatureCompletions'
19
18
import { registerReactAwareRename } from './features/reactAwareRename'
@@ -34,7 +33,7 @@ export const activate = () => {
34
33
// registerOnTypeFormatter()
35
34
registerNextLetterSwapCase ( )
36
35
registerFixCss ( )
37
- registerInsertAutoCompletions ( )
36
+ registerInsertCompletions ( )
38
37
registerCopyVariableName ( )
39
38
registerSignatureCompletions ( )
40
39
registerReactAwareRename ( )
@@ -94,4 +93,6 @@ export const activate = () => {
94
93
} ,
95
94
] )
96
95
} )
96
+
97
+ if ( getExtensionSetting ( 'enableDebug' ) ) setDebugEnabled ( true )
97
98
}
0 commit comments