Re: Nim VS Code autocompletion

2019-02-19 Thread Santanu
Thanks guys for your help, solved the problem. Apparently while installing the compiler manually something must have gone wrong with koch tools. Although nim was added to the path, but nimble and nimsuggest was not. Did a fresh install using chooseNim and now works fine.

Re: Nim VS Code autocompletion

2019-02-19 Thread miran
> two separate files namely nim.sh and nimble.sh No, you can have it in one file — I've edited my message above to show this.

Re: Nim VS Code autocompletion

2019-02-19 Thread SolitudeSF
reboot. /etc/profile.d/ is sourced after boot. or better add the path manipulations to ~/.profile. its sourced on login.

Re: Nim VS Code autocompletion

2019-02-19 Thread Santanu
Added both file to etc/profile.d and also used source to load them. But after restarting the the terminal it does not work.

Re: Nim VS Code autocompletion

2019-02-19 Thread Santanu
So i have to add both the path of nim-0.19.4/bin and .nimble/bin in two separate files namely nim.sh and nimble.sh ??

Re: Nim VS Code autocompletion

2019-02-19 Thread miran
> added path to .bachrc. Works fine, But no code completion now in vs code. I think I had a similar problem with `.bashrc` and VS Code, which I solved by removing that from `.bashrc` and adding a new file `nim.sh` to `/etc/profile.d` with this content:

Nim VS Code autocompletion

2019-02-19 Thread Santanu
Hi, Completely new to nim. I install nim on my arch Linux machine using "" sudo pacman -S nim", works fine, install the nim package in vs code, still works like gem; gives useful snippet of info for each proc. But the version of nim in the repository is 0.18.0, so couldn't install any third