Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[scm] Clean up left-overs #5242

Merged
merged 1 commit into from
May 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/git/src/browser/git-contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ import {
} from '@theia/scm/lib/browser/scm-group-command-registry';
import { GitDecorator } from './git-decorator';

export const GIT_WIDGET_FACTORY_ID = 'git';

export const EDITOR_CONTEXT_MENU_GIT = [...EDITOR_CONTEXT_MENU, '3_git'];

export namespace GIT_COMMANDS {
Expand Down
4 changes: 1 addition & 3 deletions packages/scm/src/browser/scm-widget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ import {
ScmAmendSupport
} from './scm-service';
import { CommandRegistry, Emitter, MenuPath } from '@theia/core';
import { Event as CoreEvent} from '@theia/core';
import { EditorManager } from '@theia/editor/lib/browser';
import { Event as CoreEvent } from '@theia/core';
import { ScmAvatarService } from './scm-avatar-service';
import { ScmTitleCommandRegistry, ScmTitleItem } from './scm-title-command-registry';
import { ScmResourceCommandRegistry } from './scm-resource-command-registry';
Expand Down Expand Up @@ -77,7 +76,6 @@ export class ScmWidget extends ScmNavigableListWidget<ScmResource> implements St
@inject(ScmService) private readonly scmService: ScmService;
@inject(CommandRegistry) private readonly commandRegistry: CommandRegistry;
@inject(ApplicationShell) protected readonly shell: ApplicationShell;
@inject(EditorManager) protected readonly editorManager: EditorManager;
@inject(ContextMenuRenderer) protected readonly contextMenuRenderer: ContextMenuRenderer;
@inject(ScmAvatarService) protected readonly avatarService: ScmAvatarService;
@inject(StorageService) protected readonly storageService: StorageService;
Expand Down