Skip to content

HuaweiIDE/codearts-example-registerToWelcomePage

Repository files navigation

codearts-example-registerToWelcomePage

API

/**
 * Register a command to the welcome page.
 *
 * @param label Label of the command.
 * @param command Identifier of a command to run on click.
 * @param iconPath: The icon path for command, which will show with the label.
 * @param order List sort order.
 * @return Disposable which unregisters the command from welcome page.
 */
export function registerToWelcomePage(label: string, command: string, iconPath: { dark: string; light: string } | string, order?: number): Disposable;

About

codearts sample extension using the registerToWelcomePage API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published