generalov / open-in-editor-connect

Open in Editor middleware for Node.js Connect / Express
https://www.npmjs.com/package/open-in-editor-connect
MIT License
3 stars 0 forks source link

Wrong VSC path #3

Open Spown opened 6 years ago

Spown commented 6 years ago

Since last VSCode update the module fails to find the editor location. It says "C:/Program Files (x86)/Microsoft VS Code/bin/code.cmd" whereas it is indeed located in x64 Programs folder.

Spown commented 6 years ago

also the true location does indeed gets found among 2 other, but the extension takes the wrong one

generalov commented 6 years ago

@Spown as a workaround you could set location of the binary directly:

{ editor: { name: "code", binary: "<path-to-visual-studio-code-here>" } }