Bladeren bron

Renames CodeLensController to GitCodeLensController

main
Eric Amodio 6 jaren geleden
bovenliggende
commit
a544383eb9
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. +1
    -1
      src/codelens/codeLensController.ts
  2. +3
    -3
      src/container.ts

+ 1
- 1
src/codelens/codeLensController.ts Bestand weergeven

@ -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;

+ 3
- 3
src/container.ts Bestand weergeven

@ -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;
}

Laden…
Annuleren
Opslaan