Hi guys!
I'm on Windows. Very important question here :-) By pressing F6 on Visual Studio we got something like "nim c myfile.nim" or maybe "nim c -r myfile.nim" Right?
What if my file needs ssl for instance? I would like F6 does: nim c -d:ssl myfile.nim
Maybe I'm wrong, maybe it is smarter to do it in a different way?
For the moment I have a bat file, but you know I like pressing buttons...
How can achieve that in vs code? Is there a line can be added somewhere?
Cheers
NIm rules
With https://github.com/saem/vscode-nim (not sure about the other Nim extension) you can go to User settings -> Extensions -> Nim configuration and change "Nim: Build Command".
That said, for things like ssl you should use Nim config files (file.nim.cfg and file.nims) instead, see e.g. https://forum.nim-lang.org/t/6844
Yardanico, thank you!
That's exactly what I wanted.