From a544383eb9d6190430f70b8ca4a63f0134aa6d0f Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 14 Sep 2018 02:08:25 -0400 Subject: [PATCH] Renames CodeLensController to GitCodeLensController --- src/codelens/codeLensController.ts | 2 +- src/container.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/codelens/codeLensController.ts b/src/codelens/codeLensController.ts index ea84060..314a7bd 100644 --- a/src/codelens/codeLensController.ts +++ b/src/codelens/codeLensController.ts @@ -11,7 +11,7 @@ import { } from '../trackers/gitDocumentTracker'; import { GitCodeLensProvider } from './codeLensProvider'; -export class CodeLensController implements Disposable { +export class GitCodeLensController implements Disposable { private _canToggle: boolean = false; private _disposable: Disposable | undefined; private _provider: GitCodeLensProvider | undefined; diff --git a/src/container.ts b/src/container.ts index 40f6602..cb62e0a 100644 --- a/src/container.ts +++ b/src/container.ts @@ -2,7 +2,7 @@ import { Disposable, ExtensionContext } from 'vscode'; import { FileAnnotationController } from './annotations/fileAnnotationController'; import { LineAnnotationController } from './annotations/lineAnnotationController'; -import { CodeLensController } from './codelens/codeLensController'; +import { GitCodeLensController } from './codelens/codeLensController'; import { Config, configuration } from './configuration'; import { GitFileSystemProvider } from './git/fsProvider'; import { GitService } from './git/gitService'; @@ -35,7 +35,7 @@ export class Container { context.subscriptions.push((this._lineAnnotationController = new LineAnnotationController())); context.subscriptions.push((this._lineHoverController = new LineHoverController())); context.subscriptions.push((this._statusBarController = new StatusBarController())); - context.subscriptions.push((this._codeLensController = new CodeLensController())); + context.subscriptions.push((this._codeLensController = new GitCodeLensController())); context.subscriptions.push((this._keyboard = new Keyboard())); context.subscriptions.push((this._settingsEditor = new SettingsEditor())); context.subscriptions.push((this._welcomeEditor = new WelcomeEditor())); @@ -82,7 +82,7 @@ export class Container { context.subscriptions.push(new GitFileSystemProvider()); } - private static _codeLensController: CodeLensController; + private static _codeLensController: GitCodeLensController; static get codeLens() { return this._codeLensController; }