mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 17:25:28 -05:00
Renames quickpicks/quickpicks to quickpicks/common Moves git quick picks into common and other quick pick files
15 lines
425 B
TypeScript
15 lines
425 B
TypeScript
'use strict';
|
|
import { TextEditor, TextEditorEdit } from 'vscode';
|
|
import { Commands, EditorCommand } from './common';
|
|
import { GitService } from '../gitService';
|
|
|
|
export class ToggleCodeLensCommand extends EditorCommand {
|
|
|
|
constructor(private git: GitService) {
|
|
super(Commands.ToggleCodeLens);
|
|
}
|
|
|
|
execute(editor: TextEditor, edit: TextEditorEdit) {
|
|
return this.git.toggleCodeLens(editor);
|
|
}
|
|
} |