@@ -423,6 +423,28 @@ declare module "vscode" {
423423
424424 //#region André: debug
425425
426+ /**
427+ * Represents a debug adapter executable and optional arguments passed to it.
428+ */
429+ export class DebugAdapterExecutable {
430+ /**
431+ * The command path of the debug adapter executable.
432+ * A command must be either an absolute path or the name of an executable looked up via the PATH environment variable.
433+ * The special value 'node' will be mapped to VS Code's built-in node runtime.
434+ */
435+ readonly command : string ;
436+
437+ /**
438+ * Optional arguments passed to the debug adapter executable.
439+ */
440+ readonly args : string [ ] ;
441+
442+ /**
443+ * Create a new debug adapter specification.
444+ */
445+ constructor ( command : string , args ?: string [ ] ) ;
446+ }
447+
426448 export interface DebugConfigurationProvider {
427449 /**
428450 * This optional method is called just before a debug adapter is started to determine its executable path and arguments.
@@ -551,19 +573,28 @@ declare module "vscode" {
551573 commentingRanges ?: Range [ ] ;
552574 }
553575
554- export enum CommentThreadCollapsibleState { }
576+ export enum CommentThreadCollapsibleState {
577+ /**
578+ * Determines an item is collapsed
579+ */
580+ Collapsed = 0 ,
581+ /**
582+ * Determines an item is expanded
583+ */
584+ Expanded = 1
585+ }
555586
556587 interface CommentThread {
557588 threadId : string ;
558589 resource : Uri ;
559590 range : Range ;
560- comments : readonly Comment [ ] ;
561- collapsibleState : CommentThreadCollapsibleState ;
591+ comments : Comment [ ] ;
592+ collapsibleState ? : CommentThreadCollapsibleState ;
562593 }
563594
564595 interface Comment {
565596 commentId : string ;
566- body : string | MarkdownString ;
597+ body : MarkdownString ;
567598 userName : string ;
568599 gravatar : string ;
569600 command ?: Command ;
@@ -762,6 +793,19 @@ declare module "vscode" {
762793 }
763794
764795 export namespace window {
796+ /**
797+ * The currently active terminal or `undefined`. The active terminal is the one that
798+ * currently has focus or most recently had focus.
799+ */
800+ export const activeTerminal : Terminal | undefined ;
801+
802+ /**
803+ * An [event](#Event) which fires when the [active terminal](#window.activeTerminal)
804+ * has changed. *Note* that the event also fires when the active terminal changes
805+ * to `undefined`.
806+ */
807+ export const onDidChangeActiveTerminal : Event < Terminal | undefined > ;
808+
765809 /**
766810 * Create a [TerminalRenderer](#TerminalRenderer).
767811 *
0 commit comments