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
Gravityzwell edited this page Apr 15, 2015
·
30 revisions
Install NimStudio
A VSIX installer is included in the repository Install folder. Download and run.
Install Nim.exe and Nimsuggest.exe
NimStudio requires the development version of Nim.exe and Nimsuggest.exe. These are not currently provided via the download page. The 0.10.2 binaries are available, but these won't work with NimStudio. Specifically, 0.10.2 does not include nimsuggest.
Unofficial development binaries (use at your own risk) are provided here. These were built from the development branch on Apr-14-2015. Extract to c:\nim.
To build the development version yourself, see this.
Configure
NimStudio must be able to find Nim.exe and Nimsuggest.exe. If these are in the path, or c:\nim\bin, then NimStudio will detect them automatically. If not, enter the paths manually via: Tools->NimStudio->Options Edit
Then Tools->NimStudio->Options Load
Note: nimsuggest.exe should be placed in the same folder as nim.exe.
Test Files
Download nstest1.nim and nstest2.nim from the Install folder. Open nstest1.nim in Visual Studio via File->Open, or drag and drop.
Compile/Run
NimStudio does not yet support projects (and a lot of other things).
To compile/run .nim files, two entries are added to Tools->External Tools
Results are piped to the Output window:
NOTE: The External Tools entries currently assume default paths to nim.exe and vcvars32.bat. If necessary, update these for your configuration.