some API todos

This commit is contained in:
Johannes 2022-04-04 19:05:12 +02:00
parent f2a505a15d
commit f3ff53cf3d
No known key found for this signature in database
GPG key ID: 6DEF802A22264FCA
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,7 @@ declare module 'vscode' {
/**
* The validation message to display. This will become the new {@link InputBoxOptions#validateInput} upon finalization.
*/
// TODO@API consider to extract InputBoxValidationMessage
validateInput2?(value: string): string | { content: string; severity: InputBoxValidationSeverity } | undefined | null |
Thenable<string | { content: string; severity: InputBoxValidationSeverity } | undefined | null>;
}

View file

@ -7,6 +7,8 @@ declare module 'vscode' {
// https://github.com/Microsoft/vscode/issues/15178
// TODO@API name alternatives for TabKind: TabInput, TabOptions,
export class TabKindText {
readonly uri: Uri;
constructor(uri: Uri);
@ -140,6 +142,7 @@ declare module 'vscode' {
/**
* An {@link Event event} which fires when {@link TabGroup tab groups} has changed.
*/
// TODO@API maybe `onDidChangeGroups`
readonly onDidChangeTabGroups: Event<readonly TabGroup[]>;
/**