Skip to content

Commit

Permalink
Merge pull request #89868 from jeanp413/fix-89484
Browse files Browse the repository at this point in the history
Fixes no link detection in SCM input box
  • Loading branch information
joaomoreno committed Feb 28, 2020
2 parents cdd0c15 + e378735 commit 8d80cea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/links/links.ts
Expand Up @@ -101,7 +101,7 @@ class LinkOccurrence {
}
}

class LinkDetector implements IEditorContribution {
export class LinkDetector implements IEditorContribution {

public static readonly ID: string = 'editor.linkDetector';

Expand Down
6 changes: 6 additions & 0 deletions src/vs/workbench/contrib/scm/browser/repositoryPane.ts
Expand Up @@ -67,6 +67,9 @@ import { SuggestController } from 'vs/editor/contrib/suggest/suggestController';
import { SnippetController2 } from 'vs/editor/contrib/snippet/snippetController2';
import { Schemas } from 'vs/base/common/network';
import { ServiceCollection } from 'vs/platform/instantiation/common/serviceCollection';
import { ModesHoverController } from 'vs/editor/contrib/hover/hover';
import { ColorDetector } from 'vs/editor/contrib/colorPicker/colorDetector';
import { LinkDetector } from 'vs/editor/contrib/links/links';
import { IOpenerService } from 'vs/platform/opener/common/opener';
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';

Expand Down Expand Up @@ -747,6 +750,9 @@ export class RepositoryPane extends ViewPane {
MenuPreventer.ID,
SelectionClipboardContributionID,
ContextMenuController.ID,
ColorDetector.ID,
ModesHoverController.ID,
LinkDetector.ID
])
};

Expand Down

0 comments on commit 8d80cea

Please sign in to comment.