Skip to content

Commit

Permalink
Add missing DebugConsoleMode enum to vscode API
Browse files Browse the repository at this point in the history
Signed-off-by: Amiram Wingarten <[email protected]>
  • Loading branch information
amiramw committed Sep 17, 2020
1 parent 993b7a8 commit 4739e26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/plugin-ext/src/plugin/plugin-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ import {
CompletionTriggerKind,
Diagnostic,
DiagnosticRelatedInformation,
DebugConsoleMode,
DiagnosticSeverity,
DiagnosticTag,
Location,
Expand Down Expand Up @@ -845,6 +846,7 @@ export function createAPIFactory(
CompletionItem,
CompletionItemKind,
CompletionList,
DebugConsoleMode,
DiagnosticSeverity,
DiagnosticRelatedInformation,
Location,
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-ext/src/plugin/types-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,11 @@ export enum DiagnosticSeverity {
Hint = 3
}

export enum DebugConsoleMode {
Separate = 0,
MergeWithParent = 1
}

export class DiagnosticRelatedInformation {
location: Location;
message: string;
Expand Down

0 comments on commit 4739e26

Please sign in to comment.