Skip to content

Commit

Permalink
Merge pull request #19 from dzsquared/azdata-1.1.5.0
Browse files Browse the repository at this point in the history
removing editor connection helper for file saves
  • Loading branch information
dzsquared authored Feb 17, 2020
2 parents ed0a6de + 826d4c2 commit 8a9d17d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 56 deletions.
36 changes: 0 additions & 36 deletions src/connectHolder.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import * as azdata from 'azdata';
import { changeDatabase } from './changeDatabase';
import { initQEB } from './settingsUpdates';
import { setEagerRunContext } from './contextSettings';
import { willSaveQuery, querySaved } from './queryEditorHelper';
import { addSnippetPlaceholder, addSnippetVariable, saveNewSnippet } from './snippetHelper';
import { runQuerySection } from './runQuery';

Expand All @@ -20,10 +19,6 @@ export function activate(context: vscode.ExtensionContext) {
setEagerRunContext();
context.subscriptions.push(vscode.workspace.onDidChangeConfiguration(setEagerRunContext));

// patches text editor save and query connection
context.subscriptions.push(vscode.workspace.onWillSaveTextDocument( (willSave: vscode.TextDocumentWillSaveEvent) => willSaveQuery(willSave) ));
context.subscriptions.push(vscode.workspace.onDidSaveTextDocument( (doc: vscode.TextDocument) => querySaved(doc) ));

// telemetry setup
var tH = new telemetryHelper(context);
tH.sendTelemetry('activated', { }, { });
Expand Down
15 changes: 0 additions & 15 deletions src/queryEditorHelper.ts

This file was deleted.

0 comments on commit 8a9d17d

Please sign in to comment.