V Forum

[ log in ]

How to edit, build an run a V program in VS-Code through CodeRunner

Ivo-Balbaert 2019-05-05 12:32
Install V for example to /home/user/v_lang
Install basic support for the V Programming Language in VSCode through https://github.com/monarrk/v-vscode
Then install the CodeRunner extension.
File, Preferences, Settings:
Search for: CodeRunner: Custom Command
Set the custom command to run.

Set it to: v run $fileName
Set CodeRunner working directory to: /home/user/v_lang
Close Settings
Now CTRL+ALT+K or F1 + select “Run Custom Command” compiles and executes the source code in the editor.
Works on Linux Ubuntu.
medvednikov 2019-05-05 13:58
Thanks :)

By the way, links will be clickable soon.
zuwa 2019-07-04 21:48
Hello Ivo-Balbaert of Julia and Go fame. I hope your textbook on programming with V will be the first to hit market. That will be the next best thing to V 1.0 release.
Ivo-Balbaert 2019-07-05 17:48
Hello zuwa, thanks, I'll do my best!

Powered by Vorum, open-source blogging/forum software written in V