Skip to content

Commit

Permalink
Resolve #126: Add 'Run Code' buuton in editor title menu
Browse files Browse the repository at this point in the history
  • Loading branch information
formulahendry committed Jun 20, 2017
1 parent 79caed2 commit 43b3383
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 0.6.22 (2017-06-20)
* [#128](https://github.com/formulahendry/vscode-code-runner/issues/128): Add 'Run Code' buuton in editor title menu

### 0.6.21 (2017-06-18)
* Add support for D

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you like this extension, you could donate via **[PayPal](https://www.paypal.m

## Usages

* Open code file or select code snippet in Text Editor, then use shortcut `Ctrl+Alt+N`, or press `F1` and then select/type `Run Code`, or right click the Text Editor and then click `Run Code` in context menu, the code will run and the output will be shown in the Output Window.
* Open code file or select code snippet in Text Editor, then use shortcut `Ctrl+Alt+N`, or press `F1` and then select/type `Run Code`, or right click the Text Editor and then click `Run Code` in editor context menu, or click `Run Code` button in editor title menu, the code will run and the output will be shown in the Output Window.
* To stop the running code, use shortcut `Ctrl+Alt+M`, or press `F1` and then select/type `Stop Code Run`, or right click the Output Channel and then click `Stop Code Run` in context menu

![Usage](images/usage.gif)
Expand Down
Binary file added images/run.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "code-runner",
"displayName": "Code Runner",
"description": "Run code for 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, Objective-C, Rust, Racket, AutoHotkey, AutoIt, Kotlin, Dart, Pascal, D",
"version": "0.6.21",
"version": "0.6.22",
"publisher": "formulahendry",
"icon": "images/logo.png",
"engines": {
Expand Down Expand Up @@ -38,7 +38,8 @@
"commands": [
{
"command": "code-runner.run",
"title": "Run Code"
"title": "Run Code",
"icon": "./images/run.png"
},
{
"command": "code-runner.runCustomCommand",
Expand Down Expand Up @@ -83,6 +84,12 @@
"command": "code-runner.stop",
"group": "stop-code-run"
}
],
"editor/title": [
{
"command": "code-runner.run",
"group": "navigation"
}
]
},
"configuration": {
Expand Down

1 comment on commit 43b3383

@formulahendry
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be #128

Please sign in to comment.