Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions types/vscode/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*--------------------------------------------------------------------------------------------*/

/**
* Type Definition for Visual Studio Code 1.88 Extension API
* Type Definition for Visual Studio Code 1.89 Extension API
* See https://code.visualstudio.com/api for more information
*/

Expand Down Expand Up @@ -2524,7 +2524,7 @@ declare module 'vscode' {
/**
* Checks if this code action kind intersects `other`.
*
* The kind `"refactor.extract"` for example intersects `refactor`, `"refactor.extract"` and ``"refactor.extract.function"`,
* The kind `"refactor.extract"` for example intersects `refactor`, `"refactor.extract"` and `"refactor.extract.function"`,
* but not `"unicorn.refactor.extract"`, or `"refactor.extractAll"`.
*
* @param other Kind to check.
Expand Down Expand Up @@ -10305,6 +10305,12 @@ declare module 'vscode' {
* Whether the current window is focused.
*/
readonly focused: boolean;

/**
* Whether the window has been interacted with recently. This will change
* immediately on activity, or after a short time of user inactivity.
*/
readonly active: boolean;
}

/**
Expand Down Expand Up @@ -10456,7 +10462,7 @@ declare module 'vscode' {
export const state: WindowState;

/**
* An {@link Event} which fires when the focus state of the current window
* An {@link Event} which fires when the focus or activity state of the current window
* changes. The value of the event represents whether the window is focused.
*/
export const onDidChangeWindowState: Event<WindowState>;
Expand Down
2 changes: 1 addition & 1 deletion types/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/vscode",
"version": "1.88.9999",
"version": "1.89.9999",
"projects": [
"https://github.com/microsoft/vscode"
],
Expand Down