Skip to content

Commit

Permalink
1. Resolve #57: Add support for Clojure 2. Fix and update output color
Browse files Browse the repository at this point in the history
  • Loading branch information
formulahendry committed Jan 27, 2017
1 parent 6b1c0ca commit 2c97006
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 0.6.7
* Resolve [GitHub issue#57](https://github.com/formulahendry/vscode-code-runner/issues/57): Add support for Clojure
* Fix output color due to changed VS Code 1.9
* Improve output color for numeric

### 0.6.6
* Resolve [GitHub issue#54](https://github.com/formulahendry/vscode-code-runner/issues/54): Add support for VB.NET
* Resolve [GitHub issue#51](https://github.com/formulahendry/vscode-code-runner/issues/51): Add support for $workspaceRoot
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

[![Join the chat at https://gitter.im/formulahendry/vscode-code-runner](https://badges.gitter.im/formulahendry/vscode-code-runner.svg)](https://gitter.im/formulahendry/vscode-code-runner?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Marketplace Version](http://vsmarketplacebadge.apphb.com/version/formulahendry.code-runner.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner) [![Installs](http://vsmarketplacebadge.apphb.com/installs/formulahendry.code-runner.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner) [![Rating](http://vsmarketplacebadge.apphb.com/rating/formulahendry.code-runner.svg)](https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner) [![Build Status](https://travis-ci.org/formulahendry/vscode-code-runner.svg?branch=master)](https://travis-ci.org/formulahendry/vscode-code-runner)

Run code snippet or code file for multiple languages: **C, C++, Java, JavaScript, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, C# Script, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Visual Basic .NET**, and custom command
Run code snippet or code file for multiple languages: **C, C++, Java, JavaScript, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, C# Script, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Visual Basic .NET, Clojure**, and custom command

## Donation

If you like this extension, you could donate via **[PayPal](https://www.paypal.me/junhanme)**, or scan below QR code to donate via **Alipay**. Any amount is welcome. It will encourage me to make this extension better and better!

![Alipay](images/alipay.png)

## Features

Expand Down Expand Up @@ -65,7 +71,7 @@ Besides, you could set the default language to run:
"code-runner.defaultLanguage": "javascript"
}
```
**For the default language:** It should be set with language id defined in [VS Code](https://github.com/Microsoft/vscode/tree/master/extensions). The languages you could set are `java, c, cpp, javascript, php, python, perl, ruby, go, lua, groovy, powershell, bat, shellscript, fsharp, csharp, vbscript, typescript, coffeescript`
**For the default language:** It should be set with language id defined in [VS Code](https://github.com/Microsoft/vscode/tree/master/extensions). The languages you could set are `java, c, cpp, javascript, php, python, perl, ruby, go, lua, groovy, powershell, bat, shellscript, fsharp, csharp, vbscript, typescript, coffeescript, swift, r, clojure`

Also, you could set the executor per file extension:
```json
Expand Down Expand Up @@ -143,10 +149,4 @@ See Change Log [here](CHANGELOG.md)
Submit the [issues](https://github.com/formulahendry/vscode-code-runner/issues) if you find any bug or have any suggestion.

## Contribution
Fork the [repo](https://github.com/formulahendry/vscode-code-runner) and submit pull requests.

## Donation

If you like this extension, you could donate via **[PayPal](https://www.paypal.me/junhanme)**, or scan below QR code to donate via **Alipay**. Any amount is welcome. It will encourage me to make this extension better and better!

![Alipay](images/alipay.png)
Fork the [repo](https://github.com/formulahendry/vscode-code-runner) and submit pull requests.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "code-runner",
"displayName": "Code Runner",
"description": "Run code snippet/file for C, C++, Java, JS, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F#, C#, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml, R, AppleScript, Elixir, VB.NET",
"version": "0.6.6",
"description": "Run code snippet/file for C, C++, Java, JS, PHP, Python, Perl, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F#, C#, VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml, R, AppleScript, Elixir, VB.NET, Clojure",
"version": "0.6.7",
"publisher": "formulahendry",
"icon": "images/logo.png",
"engines": {
Expand Down Expand Up @@ -117,7 +117,8 @@
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript"
"applescript": "osascript",
"clojure": "lein exec"
},
"description": "Set the executor of each language."
},
Expand Down
10 changes: 5 additions & 5 deletions syntaxes/code-runner-output.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>2</key>
<dict>
<key>name</key>
<string>token.string</string>
<string>string</string>
</dict>
</dict>
<key>match</key>
Expand All @@ -38,7 +38,7 @@
<key>2</key>
<dict>
<key>name</key>
<string>token.string</string>
<string>string</string>
</dict>
<key>3</key>
<dict>
Expand All @@ -53,17 +53,17 @@
<key>5</key>
<dict>
<key>name</key>
<string>token.string</string>
<string>string</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>token.warn-token</string>
<string>constant.numeric</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>token.string</string>
<string>string</string>
</dict>
</dict>
<key>match</key>
Expand Down

0 comments on commit 2c97006

Please sign in to comment.