The VSCode plugin is supposed to do all of this very well. That is if @araq does not break it the day I promote that editor a lot :) ... Check out the newest Nim version in devel this may solve your problem. And see here for some screens of how it works:
[Screen 1](http://forum.nim-lang.org///snpy.in/ZU9Nw0) [Screen 2](http://forum.nim-lang.org///snpy.in/IQyw09) [Screen 3](http://forum.nim-lang.org///snpy.in/EQ0Kux) [Screen 4](http://forum.nim-lang.org///snpy.in/4vfjsM) And more of course... BTW: It seems that the whole thing does not work for @araq either currently. There may be some strange setup problem on some systems. We are investigating :)