The currently active editor or undefined
. The active editor is the one
that currently has focus or, when none has focus, the one that has changed
input most recently.
An event which fires when the active editor
has changed. Note that the event also fires when the active editor changes
to undefined
.
An event which fires when the options of an editor have changed.
An event which fires when the selection in an editor has changed.
An event which fires when the view column of an editor has changed.
An event which fires when the selection in an editor has changed.
An event which fires when the array of visible editors has changed.
An event which fires when the focus state of the current window changes. The value of the event represents whether the window is focused.
Event which fires when terminal did closed. Event value contains closed terminal definition.
Represents the current window's state.
The currently visible editors or an empty array.
Create a new output channel with the given name.
String which will be used to represent the channel in the UI.
Creates a status bar item.
The alignment of the item.
The priority of the item. Higher values mean the item should be shown more to the left.
A new status bar item.
Create new terminal.
terminal name to display on the UI.
path to the executable shell. For example "/bin/bash", "bash", "sh".
arguments to configure executable shell. For example ["-l"] - run shell without login.
Create new terminal with predefined options.
Create a TextEditorDecorationType that can be used to add decorations to text editors.
Rendering options for the decoration type.
A new decoration type instance.
Create a TreeView for the view contributed using the extension point views
.
Id of the view contributed using the extension point views
.
Options object to provide TreeDataProvider for the view.
a TreeView.
Register a TreeDataProvider for the view contributed using the extension point views
.
This will allow you to contribute data to the TreeView and update if the data changes.
Note: To get access to the TreeView and perform operations on it, use createTreeView.
Id of the view contributed using the extension point views
.
A TreeDataProvider that provides tree data for the view
Set a message to the status bar.
The message to show, supports icon substitution as in status bar.
A disposable which hides the status bar message.
Set a message to the status bar.
The message to show, supports icon substitution as in status bar.
Timeout in milliseconds after which the message will be disposed.
A disposable which hides the status bar message.
Set a message to the status bar.
The message to show, supports icon substitution as in status bar.
PromiseLike on which completion (resolve or reject) the message will be disposed.
A disposable which hides the status bar message.
Show an error message.
a message to show.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show an error message.
a message to show.
Configures the behaviour of the message.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show an error message.
a message to show.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show an error message.
a message to show.
Configures the behaviour of the message.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show an information message.
a message to show.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show an information message.
a message to show.
Configures the behaviour of the message.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show an information message.
a message to show.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show an information message.
a message to show.
Configures the behaviour of the message.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Opens an input box to ask the user for input.
The returned value will be undefined
if the input box was canceled (e.g. pressing ESC). Otherwise the
returned value will be the string typed by the user or an empty string if the user did not type
anything but dismissed the input box with OK.
Configures the behavior of the input box.
A token that can be used to signal cancellation.
A promise that resolves to a string the user provided or to undefined
in case of dismissal.
Shows a file open dialog to the user which allows to select a file for opening-purposes.
Options that control the dialog.
A promise that resolves to the selected resources or undefined
.
Shows a selection list.
Shows a selection list with multiple selection allowed.
Shows a selection list.
Shows a selection list with multiple selection allowed.
Shows a file save dialog to the user which allows to select a file for saving-purposes.
Options that control the dialog.
A promise that resolves to the selected resource or undefined
.
Show a warning message.
a message to show.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show a warning message.
a message to show.
Configures the behaviour of the message.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show a warning message.
a message to show.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Show a warning message.
a message to show.
Configures the behaviour of the message.
A set of items that will be rendered as actions in the message.
A promise that resolves to the selected item or undefined
when being dismissed.
Shows a selection list of workspace folders to pick from.
Returns undefined
if no folder is open.
Configures the behavior of the workspace folder list.
A promise that resolves to the workspace folder or undefined
.
Common namespace for dealing with window and editor, showing messages and user input.