VSCodeWindow class
Wrapper for vscode.window API Provides access to window-related functionality (UI, messages, editors, etc.)
Constructors
- VSCodeWindow(VSCodeAdapter _adapter)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appendToOutputChannel(
String channelName, String text, {int timeoutSeconds = 30}) → Future< void> - Append to output channel
-
createOutputChannel(
String name, {int timeoutSeconds = 30}) → Future< String> - Create output channel
-
createTerminal(
{String? name, String? shellPath, List< String> ? shellArgs, int timeoutSeconds = 120}) → Future<String> - Create terminal
-
getActiveTextEditor(
) → Future< TextEditor?> - Get active text editor
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendTextToTerminal(
String terminalName, String text, {int timeoutSeconds = 120}) → Future< void> - Send text to terminal
-
setStatusBarMessage(
String message, {int? timeout, int timeoutSeconds = 120}) → Future< void> - Set status bar message
-
showErrorMessage(
String message, {List< String> ? items, MessageOptions? options, int timeoutSeconds = 5 * 60}) → Future<String?> - Show error message
-
showInformationMessage(
String message, {List< String> ? items, MessageOptions? options, int timeoutSeconds = 5 * 60}) → Future<String?> - Show information message
-
showInputBox(
{String? prompt, String? placeHolder, String? value, bool password = false, int timeoutSeconds = 30 * 60, String? fallbackValueOnTimeout, bool failOnTimeout = false}) → Future< String?> - Show input box
-
showOpenDialog(
{bool canSelectFiles = true, bool canSelectFolders = false, bool canSelectMany = false, String? defaultUri, Map< String, List< ? filters, String? title, int timeoutSeconds = 30 * 60}) → Future<String> >List< String> > - Show open dialog
-
showOutputChannel(
String channelName, {int timeoutSeconds = 30}) → Future< void> - Show output channel
-
showQuickPick(
List< String> items, {String? placeHolder, bool canPickMany = false, int timeoutSeconds = 30 * 60, String? fallbackValueOnTimeout, bool failOnTimeout = false}) → Future<String?> - Show quick pick
-
showSaveDialog(
{String? defaultUri, Map< String, List< ? filters, String? title, int timeoutSeconds = 30 * 60}) → Future<String> >String?> - Show save dialog
-
showTerminal(
String terminalName, {int timeoutSeconds = 120}) → Future< void> - Show terminal
-
showTextDocument(
String path, {int timeoutSeconds = 10 * 60}) → Future< TextEditor?> - Show text document
-
showWarningMessage(
String message, {List< String> ? items, MessageOptions? options, int timeoutSeconds = 5 * 60}) → Future<String?> - Show warning message
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited