Skip to content

Commit

Permalink
Put marker hovers on top
Browse files Browse the repository at this point in the history
  • Loading branch information
azdavis committed Nov 26, 2022
1 parent fd8c903 commit 453528c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,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
Original file line number Diff line number Diff line change
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 453528c

Please sign in to comment.