Some typo fixes

This commit is contained in:
Gama11
2017-02-04 13:51:49 +01:00
committed by GitHub
parent 12992d3c57
commit 5776697809

10
src/vs/vscode.d.ts vendored
View File

@@ -3443,13 +3443,13 @@ declare module 'vscode' {
* when invoking an editor command not all argument types are supported.
*
* This is a sample that registers a command handler and adds an entry for that command to the palette. First
* register a command handler with the identfier `extension.sayHello`.
* register a command handler with the identifier `extension.sayHello`.
* ```javascript
* commands.registerCommand('extension.sayHello', () => {
* window.showInformationMessage('Hello World!');
* });
* ```
* Second, bind the command identfier to a title under which it will show in the palette (`package.json`).
* Second, bind the command identifier to a title under which it will show in the palette (`package.json`).
* ```json
* {
* "contributes": {
@@ -3771,7 +3771,7 @@ declare module 'vscode' {
* Set a message to the status bar. This is a short hand for the more powerful
* status bar [items](#window.createStatusBarItem).
*
* @param text The message to show, support icon subtitution as in status bar [items](#StatusBarItem.text).
* @param text The message to show, supports icon substitution as in status bar [items](#StatusBarItem.text).
* @param hideAfterTimeout Timeout in milliseconds after which the message will be disposed.
* @return A disposable which hides the status bar message.
*/
@@ -3781,7 +3781,7 @@ declare module 'vscode' {
* Set a message to the status bar. This is a short hand for the more powerful
* status bar [items](#window.createStatusBarItem).
*
* @param text The message to show, support icon subtitution as in status bar [items](#StatusBarItem.text).
* @param text The message to show, supports icon substitution as in status bar [items](#StatusBarItem.text).
* @param hideWhenDone Thenable on which completion (resolve or reject) the message will be disposed.
* @return A disposable which hides the status bar message.
*/
@@ -3794,7 +3794,7 @@ declare module 'vscode' {
* *Note* that status bar messages stack and that they must be disposed when no
* longer used.
*
* @param text The message to show, support icon subtitution as in status bar [items](#StatusBarItem.text).
* @param text The message to show, supports icon substitution as in status bar [items](#StatusBarItem.text).
* @return A disposable which hides the status bar message.
*/
export function setStatusBarMessage(text: string): Disposable;