Discussion - third party Windows apps need a recommended way to open files in WSL #6234
Replies: 2 comments
-
Documentation on WSL interop is here. There is also an api documented here.
If they are the same files they are the same files, and VS Code (or anything else) will 'recognize' them as such. But heads up #4739 and sister issue #4581 (depending on the direction). WSL2 is presently does not support file watching. |
Beta Was this translation helpful? Give feedback.
-
Can I confirm that when I open a file via a Windows path, if VScode already has the parent folder opened via WSL, that the file opened via a Windows path should appear in the existing window with the parent opened via WSL? That's not happening in my test machine - I get the file opened via a Windows path in a new window with a differently colored status bar. If that's the intended behavior it might be better for me to convert this to a VScode issue. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I use Windows git tools to manage my changes. I frequently have my project open in VScode using WSL. However when I open a file in the Window git tool, it doesn't use WSL, therefore opening a second window:
Describe the solution you'd like
I'd like it if somehow the third party app used the existing VScode window.
Describe alternatives you've considered
Additional context
The key thing here is I (as a user) am not sure what I should ask my software vendor for. Eg, should vscode recognise the change? Or should my tool (git fork) have an 'open in WSL' button?
If there was some published official guidance on how third party apps should work with WSL it would be very useful.
Beta Was this translation helpful? Give feedback.
All reactions