Skip to content

Commit

Permalink
Merge pull request #166560 from azdavis/main
Browse files Browse the repository at this point in the history
Put marker hovers on top
  • Loading branch information
aiday-mar committed Feb 27, 2023
2 parents 57d00e6 + 8b76efe commit e1967e9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
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

0 comments on commit e1967e9

Please sign in to comment.