diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c180d8..15e9b54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 0.9.9 (2019-05-04) +* Fix tempCodeRunnerFile not being deleted +* Add option to hide "Run Code" from explorer context menu + ### 0.9.8 (2019-04-07) * Add support for [Kit](https://www.kitlang.org/) diff --git a/README.md b/README.md index ffa5005..0f8b3be 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ Run code snippet or code file for multiple languages: **C, C++, Java, JavaScript Discuss, review, and share code with your team in VS Code. Links discussions about code to your code. Integrates w/ Slack, Jira, Trello, and Live Share. [Try it free](https://codestream.com/?utm_source=vscmarket&utm_medium=banner&utm_campaign=coderunner). -[![Coding](images/Coding.jpg)](https://e.coding.net/?utm_source=hendry-code-runner&utm_medium=cpc&utm_campaign=hendry-code-runner) +[![Coding](images/Coding.jpg)](https://coding.net/?utm_source=hendry-code-runner&utm_medium=cpc&utm_campaign=hendry-code-runner) -[CODING](https://e.coding.net/?utm_source=hendry-code-runner&utm_medium=cpc&utm_campaign=hendry-code-runner) 提供 DevOps 全流程应用,从需求到实现,一站式开发体验。 CODING is a one-stop platform for entire software development lifecycle, from requirement to development. +[CODING](https://coding.net/?utm_source=hendry-code-runner&utm_medium=cpc&utm_campaign=hendry-code-runner) 提供 DevOps 全流程应用,从需求到实现,一站式开发体验。 CODING is a one-stop platform for entire software development lifecycle, from requirement to development. ## Donation @@ -179,6 +179,8 @@ To set whether to preserve focus on code editor after code run is triggered (def `code-runner.showRunCommandInEditorContextMenu`: Whether to show 'Run Code' command in editor context menu. (Default is **true**) +`code-runner.showRunCommandInExplorerContextMenu`: Whether to show 'Run Code' command in explorer context menu. (Default is **true**) + `code-runner.terminalRoot`: For Windows system, replaces the Windows style drive letter in the command with a Unix style root when using a custom shell as the terminal, like Bash or Cgywin. Example: Setting this to `/mnt/` will replace `C:\path` with `/mnt/c/path` (Default is **""**) `code-runner.temporaryFileName`: Temporary file name used in running selected code snippet. When it is set as empty, the file name will be random. (Default is **"tempCodeRunnerFile"**) diff --git a/package-lock.json b/package-lock.json index d354d52..6d5c74e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "code-runner", - "version": "0.9.8", + "version": "0.9.9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 7ab8ea3..524b820 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "code-runner", "displayName": "Code Runner", "description": "Run C, C++, Java, JS, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, CMD, BASH, F#, C#, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml, R, AppleScript, Elixir, VB.NET, Clojure, Haxe, Obj-C, Rust, Racket, AutoHotkey, AutoIt, Kotlin, Dart, Pascal, Haskell, Nim, D, Lisp, Kit", - "version": "0.9.8", + "version": "0.9.9", "publisher": "formulahendry", "icon": "images/logo.png", "engines": { @@ -98,7 +98,7 @@ ], "explorer/context": [ { - "when": "!explorerResourceIsFolder && config.code-runner.showRunCommandInExplorerMenu", + "when": "!explorerResourceIsFolder && config.code-runner.showRunCommandInExplorerContextMenu", "command": "code-runner.run", "group": "navigation" } @@ -294,11 +294,11 @@ "description": "Whether to show 'Run Code' command in editor context menu.", "scope": "resource" }, - "code-runner.showRunCommandInExplorerMenu": { - "type": "boolean", - "default": true, - "description": "Whether to show 'Run Code' command in explorer context menu.", - "scope": "resource" + "code-runner.showRunCommandInExplorerContextMenu": { + "type": "boolean", + "default": true, + "description": "Whether to show 'Run Code' command in explorer context menu.", + "scope": "resource" }, "code-runner.temporaryFileName": { "type": "string",