Skip to content

Commit

Permalink
Update version to 0.5.19
Browse files Browse the repository at this point in the history
  • Loading branch information
kosz78 committed Feb 20, 2017
1 parent d19b498 commit 011683c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog

## 0.5.19 (20 Feb 2017)
* Fix Get "command 'nim.run.file' not found" when trying to run file [#37](https://github.com/pragmagic/vscode-nim/issues/37)
* Add experimental option useNimsuggestCheck to use nimsuggest tools for error checking

## 0.5.18 (15 Feb 2017)
* Verbose logging for nimsuggest
* Fix nim check leaks and nimsuggest instance leaks
Expand Down
31 changes: 15 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,36 @@ This extension adds language support for the Nim language to VS Code, including:
- File outline
- Build-on-save
- Workspace symbol search
- Quick info

## Using

First, you will need to install Visual Studio Code `0.10`.
In the command palette (`cmd-shift-p`) select `Install Extension` and choose `Nim`.
First, you will need to install Visual Studio Code `0.10`.
In the command palette (`cmd-shift-p`) select `Install Extension` and choose `Nim`.

The following tools are required for the extension:
* Nim compiler - http://nim-lang.org

_Note_: It is recommended to turn `Auto Save` on in Visual Studio Code (`File -> Auto Save`) when using this extension.
_Note_: It is recommended to turn `Auto Save` on in Visual Studio Code (`File -> Auto Save`) when using this extension.

### Options

The following Visual Studio Code settings are available for the Nim extension. These can be set in user preferences (`cmd+,`) or workspace settings (`.vscode/settings.json`).
* `nim.buildOnSave` - perform build task from `tasks.json` file, to use this options you need declare build task according to [Tasks Documentaiton](https://code.visualstudio.com/docs/editor/taskshttps://code.visualstudio.com/docs/editor/tasks), for example:
```json
{
"version": "0.1.0",
"command": "nim",
"args": ["c", "-r", "module.nim"],
"options": {
"cwd": "${workspaceRoot}"
},
"isShellCommand": true
}
"version": "0.1.0",
"command": "nim",
"args": ["c", "-r", "module.nim"],
"options": {
"cwd": "${workspaceRoot}"
},
"isShellCommand": true
}
```
```
* `nim.lintOnSave` - perform the project check for errors on save
* `nim.project` - optional array of projects file, if nim.project not defined then all nim files will be used as separate project
* `nim.licenseString` - optional license text that will be inserted on nim file creation
* `nim.licenseString` - optional license text that will be inserted on nim file creation


#### Example
Expand All @@ -62,15 +62,14 @@ The following Visual Studio Code settings are available for the Nim extension.
### Commands
The following commands are provided by the extension:

* `Nim: Run selected file` - compile and run selected file, it uses `c` compiler by default, but you can specify `cpp` in `nim.buildCommand` config parameter.
* `Nim: Run selected file` - compile and run selected file, it uses `c` compiler by default, but you can specify `cpp` in `nim.buildCommand` config parameter.
This command available from file context menu or by `F6` keyboard shortcut.

## TODO

* Rename support
* Quick info
* Code action for imports (suggest available modules to import)
* Debug support
* Debug support

## ChangeLog

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nim",
"displayName": "Nim",
"description": "Nim language support for Visual Studio Code",
"version": "0.5.18",
"version": "0.5.19",
"publisher": "kosz78",
"author": {
"name": "Xored Software Inc."
Expand Down

0 comments on commit 011683c

Please sign in to comment.