Skip to content

Commit

Permalink
chore: revert takeover mode
Browse files Browse the repository at this point in the history
  • Loading branch information
adhamfarrag committed Jan 23, 2024
1 parent 7259f69 commit ede4266
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 42 deletions.
7 changes: 2 additions & 5 deletions src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { window, ExtensionContext, commands, Uri, extensions } from 'vscode';
import { window, ExtensionContext, commands, Uri } from 'vscode';
import nuxtrCommands from './commands'
import { ModulesView } from './sideBar'
import { logger, updateDependencies } from './utils';
import codelens from './codelens'
import { statusBars, activateStatusBarIcons } from './statusBar'
import { activateIntellisense } from './intellisense'
import { filesWatcher, checkTakeOverMode } from './watchers'
import { filesWatcher } from './watchers';

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

// checkTakeOverMode
checkTakeOverMode()

extensionCommands.forEach(({ command, function: commandFunction }) => {
context.subscriptions.push(commands.registerCommand(command, commandFunction));
});
Expand Down
9 changes: 1 addition & 8 deletions src/watchers/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
import filesWatcher from './files'
import { snippetsConfigWatcher, templatesConfigWatcher, piniaConfigWatcher } from './config'

import { checkTakeOverMode} from './vscode'
export {
filesWatcher,
snippetsConfigWatcher,
templatesConfigWatcher,
piniaConfigWatcher,
checkTakeOverMode
}
export { filesWatcher, snippetsConfigWatcher, templatesConfigWatcher, piniaConfigWatcher }
29 changes: 0 additions & 29 deletions src/watchers/vscode.ts

This file was deleted.

0 comments on commit ede4266

Please sign in to comment.