Skip to content

Commit ede4266

Browse files
committed
chore: revert takeover mode
1 parent 7259f69 commit ede4266

File tree

3 files changed

+3
-42
lines changed

3 files changed

+3
-42
lines changed

src/extension.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { window, ExtensionContext, commands, Uri, extensions } from 'vscode';
1+
import { window, ExtensionContext, commands, Uri } from 'vscode';
22
import nuxtrCommands from './commands'
33
import { ModulesView } from './sideBar'
44
import { logger, updateDependencies } from './utils';
55
import codelens from './codelens'
66
import { statusBars, activateStatusBarIcons } from './statusBar'
77
import { activateIntellisense } from './intellisense'
8-
import { filesWatcher, checkTakeOverMode } from './watchers'
8+
import { filesWatcher } from './watchers';
99

1010
const extensionCommands = [
1111
{ command: 'nuxtr.createPage', function: nuxtrCommands.createPage },
@@ -96,9 +96,6 @@ export async function activateExtension(context: ExtensionContext) {
9696
// activate codelens
9797
codelens.activateCodelenses(context)
9898

99-
// checkTakeOverMode
100-
checkTakeOverMode()
101-
10299
extensionCommands.forEach(({ command, function: commandFunction }) => {
103100
context.subscriptions.push(commands.registerCommand(command, commandFunction));
104101
});

src/watchers/index.ts

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
import filesWatcher from './files'
22
import { snippetsConfigWatcher, templatesConfigWatcher, piniaConfigWatcher } from './config'
33

4-
import { checkTakeOverMode} from './vscode'
5-
export {
6-
filesWatcher,
7-
snippetsConfigWatcher,
8-
templatesConfigWatcher,
9-
piniaConfigWatcher,
10-
checkTakeOverMode
11-
}
4+
export { filesWatcher, snippetsConfigWatcher, templatesConfigWatcher, piniaConfigWatcher }

src/watchers/vscode.ts

-29
This file was deleted.

0 commit comments

Comments
 (0)