最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to open the current file in Windows Terminal from vs code (WSL) - Stack Overflow

programmeradmin1浏览0评论

I have vs code running and a workspace open, using a keyboard shortcut I would like to be able to open the current file in windows terminal (external). This should also work when the workspace is in WSL.
Based on my research this seems impossible, which would surprise me though.

I have vs code running and a workspace open, using a keyboard shortcut I would like to be able to open the current file in windows terminal (external). This should also work when the workspace is in WSL.
Based on my research this seems impossible, which would surprise me though.

Share Improve this question asked Jan 30 at 2:12 TeiemTeiem 1,62920 silver badges45 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

It seems you are facing the same issue as https://github/Microsoft/vscode-remote-release/issues/7704. The command (via Command Palette) does work, but not the shortcut.

Based on one of the comments provided, Without WSL, the focus needs to be in the explorer, but with WSL the focus needs to be in the editor. This is a bit confusing.

The issue is still open in VS Code, so the error still occurs. In the meantime, you may upvote the issue, to improve the visibility to the team, and choose a different shortcut.

发布评论

评论列表(0)

  1. 暂无评论