Skip to content

Instantly share code, notes, and snippets.

@renevo
Created October 27, 2017 16:00
Show Gist options
  • Save renevo/79985e5011b1f8a0b10df3d7c6f0a78d to your computer and use it in GitHub Desktop.
Save renevo/79985e5011b1f8a0b10df3d7c6f0a78d to your computer and use it in GitHub Desktop.
Start code with current GOPATH
@echo off
setlocal
set VSCODE_DEV=
set ELECTRON_RUN_AS_NODE=1
set GOBIN=c:\Go\Bin
set GOPATH=%CD%
start "" /B "C:\Program Files\Microsoft VS Code\Code.exe" "C:\Program Files\Microsoft VS Code\resources\app\out\cli.js" %CD%
endlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment