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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put marker hovers on top #166560

Merged
merged 2 commits into from Feb 27, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -46,7 +46,7 @@ export class ColorHover implements IHoverPart {

export class ColorHoverParticipant implements IEditorHoverParticipant<ColorHover> {

public readonly hoverOrdinal: number = 1;
public readonly hoverOrdinal: number = 2;

constructor(
private readonly _editor: ICodeEditor,
Expand Down
Expand Up @@ -46,7 +46,7 @@ export class MarkdownHover implements IHoverPart {

export class MarkdownHoverParticipant implements IEditorHoverParticipant<MarkdownHover> {

public readonly hoverOrdinal: number = 2;
public readonly hoverOrdinal: number = 3;

constructor(
protected readonly _editor: ICodeEditor,
Expand Down
Expand Up @@ -54,7 +54,7 @@ const markerCodeActionTrigger: CodeActionTrigger = {

export class MarkerHoverParticipant implements IEditorHoverParticipant<MarkerHover> {

public readonly hoverOrdinal: number = 5;
public readonly hoverOrdinal: number = 1;

private recentMarkerCodeActionsInfo: { marker: IMarker; hasCodeActions: boolean } | undefined = undefined;

Expand Down
Expand Up @@ -65,7 +65,7 @@ export class InlineCompletionsHover implements IHoverPart {

export class InlineCompletionsHoverParticipant implements IEditorHoverParticipant<InlineCompletionsHover> {

public readonly hoverOrdinal: number = 3;
public readonly hoverOrdinal: number = 4;

constructor(
private readonly _editor: ICodeEditor,
Expand Down
Expand Up @@ -407,7 +407,7 @@ export class UnicodeHighlighterHover implements IHoverPart {

export class UnicodeHighlighterHoverParticipant implements IEditorHoverParticipant<MarkdownHover> {

public readonly hoverOrdinal: number = 4;
public readonly hoverOrdinal: number = 5;

constructor(
private readonly _editor: ICodeEditor,
Expand Down