You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Change Log (vs-script-commands)
2
2
3
+
## 4.12.0 (May 2nd, 2017; REST API and cron jobs)
4
+
5
+
* added `startApi()` and `stopApi()` functions for [quick executions](https://github.com/mkloubert/vs-script-commands#quick-execution-), that can interact with extensions like [vs-rest-api](https://github.com/mkloubert/vs-rest-api)
6
+
* added `getCronJobs()`, `restartCronJobs()`, `startCronJobs()` and `stopCronJobs()` functions for [quick executions](https://github.com/mkloubert/vs-script-commands#quick-execution-), that can interact with extensions like [vs-cron](https://github.com/mkloubert/vs-cron)
7
+
3
8
## 4.11.0 (May 2nd, 2017; quick execution)
4
9
5
10
* added `$clearHistory`, `$history`, `$removeFromHistory` and `$saveToHistory` functions
markdown+="| `$help(): vscode.Thenable<any>` | Shows this help document. |\n";
@@ -940,11 +909,16 @@ function _generateHelpHTML(): string {
940
909
markdown+="| `$readString(file: string, encoding?: string = 'utf8'): string` | Reads a file as string. |\n";
941
910
markdown+="| `$removeFromHistory(index?: number, fromGlobal = false): void` | Removes an expression from history. |\n";
942
911
markdown+="| `$require(id: string): any` | Loads a module from execution / extension context. |\n";
912
+
markdown+="| `$restartCronJobs(jobNames: string[]): Promise<any>` | (Re-)Starts a list of [cron jobs](https://github.com/mkloubert/vs-cron). |\n";
943
913
markdown+="| `$saveToHistory(saveGlobal: boolean = false, description?: string): void` | Saves the current expression to history. |\n";
944
914
markdown+="| `$setState(newValue: any): any` | Sets the value of `$state` variable and returns the new value. |\n";
945
915
markdown+="| `$sha1(data: any, asBuffer: boolean = false): string` | Hashes data by SHA-1. |\n";
946
916
markdown+="| `$sha256(data: any, asBuffer: boolean = false): string` | Hashes data by SHA-256. |\n";
947
917
markdown+="| `$showResultInTab(flag?: boolean, permanent?: boolean = false): boolean` | Gets or sets if result should be shown in a tab window or a popup. |\n";
918
+
markdown+="| `$startApi(): Promise<any>` | Starts an [API host](https://github.com/mkloubert/vs-rest-api). |\n";
919
+
markdown+="| `$startCronJobs(jobNames: string[]): Promise<any>` | Starts a list of [cron jobs](https://github.com/mkloubert/vs-cron). |\n";
920
+
markdown+="| `$stopApi(): Promise<any>` | Stops an [API host](https://github.com/mkloubert/vs-rest-api). |\n";
921
+
markdown+="| `$stopCronJobs(jobNames: string[]): Promise<any>` | Stops a list of [cron jobs](https://github.com/mkloubert/vs-cron). |\n";
948
922
markdown+="| `$toHexView(val: any): string` | Converts a value, like a buffer or string, to 'hex view'. |\n";
949
923
markdown+="| `$unlink(path: string): boolean` | Removes a file or folder. |\n";
950
924
markdown+="| `$uuid(v4: boolean = true): string` | Generates a new unique ID. |\n";
@@ -960,7 +934,7 @@ function _generateHelpHTML(): string {
960
934
markdown+="| `$config: Configuration` | The current [settings](https://mkloubert.github.io/vs-script-commands/interfaces/_contracts_.configuration.html) of that extension. |\n";
961
935
markdown+="| `$doNotShowResult: Symbol` | A unique symbol that can be used as result and indicates NOT to show a result tab or popup. |\n";
962
936
markdown+="| `$extension: vscode.ExtensionContext` | Stores the [context](https://code.visualstudio.com/docs/extensionAPI/vscode-api#_a-nameextensioncontextaspan-classcodeitem-id1016extensioncontextspan) of that extension. |\n";
963
-
markdown+="| `$globals: any` | Stores the global data from the settings. |\n";
937
+
markdown+="| `$globals: any` | Stores the global data from the [settings](https://github.com/mkloubert/vs-script-commands#settings-). |\n";
964
938
markdown+="| `$me: ScriptCommandController` | The [controller](https://mkloubert.github.io/vs-script-commands/classes/_controller_.scriptcommandcontroller.html) of that extension. |\n";
965
939
markdown+="| `$output: vscode.OutputChannel` | Stores the [output channel](https://code.visualstudio.com/docs/extensionAPI/vscode-api#OutputChannel) of that extension. |\n";
966
940
markdown+="| `$state: any` | Stores a value that should be available for next executions. |\n";
@@ -969,11 +943,11 @@ function _generateHelpHTML(): string {
0 commit comments