Tyriar / vscode-terminal-here

VS Code extensions that creates an integrated terminal session at the current file's directory
https://marketplace.visualstudio.com/items?itemName=Tyriar.vscode-terminal-here
33 stars 11 forks source link

Support Windows Subsystem for Linux #10

Closed dyong0 closed 6 years ago

dyong0 commented 6 years ago

Fixes #5

It determines the directory path by checking Windows shell path. The shell paths are listed in the official VS Code page. https://code.visualstudio.com/docs/editor/integrated-terminal

Please kindly consider this pull request to be merged, I really need this feature.

Screen captures of the actual usages:

"terminal.integrated.shell.windows": "C:\\Windows\\System32\\bash.exe"

image

"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"

image

dyong0 commented 6 years ago

@Tyriar I fixed the issue according to your review, but amended the commit instead of making new one. Because the new commit wouldn't help others. And the test result is same as before.