Closed leotm closed 7 years ago
Hah! I was working on adding your suggestion as well. I think in src/extension.ts line 24 there's a possibility to crash if there's no open file. Also, the new version I just pushed will still fall-back to the workspace root if there's no open file.
I did use your path code though to get the directory and I've published the new version.
Thanks @leotm!
Implemented
Ahh you got me 🙌 well spotted. Tested and lookin' good. Appreciate the mention!
Also requested https://github.com/Microsoft/vscode/issues/15991 may be a while😴
Equivalent to: