You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IntelliJ: Windows → WSL remote not detected (only SSH detected) #9735
ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsstale
This was based on a code pattern that related to those two bugs. In trying to repro in IntelliJ, I saw that the extension there has the same problem as VSCode: Issue #4691
Because the state across windows is shared, not uniwue, if I have two windows open in VSCode (and I typically have at least that many), and they mix wsl and native Windows, the lack of state isolation across IntelliJ or VSCode windows makes the Continue extension not know whether to serve up wsl or powershell. This problem is the same in IntelliJ. as in VSCode. (though not cross-product)
Look at this image. The left window I opened explicitly through wsl, and IntelliJ's terminal gives me a *nix terminal and path. In the extension, my rnj-1 model here is showing the current folder through Powershell path (which is the pattern #9810 and #9740 fixed and predicted for here: powershell when in wsl Ubuntu). In the right window I started a new project on the DOS side and ran pwd again through the extension.
Below is upon opening a 3rd window, now through wsl again. The image shows: before opening a file, it still thinks it's in window 2. Once I open a file through that wsl window, though, the extension returns to the original powershell::wsl shell and path.
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, you are welcome to leave a comment and this will keep the issue open. However please note that this repo is no longer being actively maintained.
ide:jetbrainsRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsstale
Activity
sestinj commentedon Jan 21, 2026
Related issues:
RomneyDa commentedon Jan 26, 2026
@shanevcantwell was this fixed by one of these?
#9810
#9740
shanevcantwell commentedon Jan 27, 2026
Analysis shows:
PR #9810 only touched CLI files (extensions/cli/src/tools/)
PR #9740 only touched core MCP files (core/context/mcp/)
Neither touched IntelliJ code (extensions/intellij/ or the Kotlin files).
I'll take a look now.
shanevcantwell commentedon Jan 27, 2026
This was based on a code pattern that related to those two bugs. In trying to repro in IntelliJ, I saw that the extension there has the same problem as VSCode: Issue #4691
Because the state across windows is shared, not uniwue, if I have two windows open in VSCode (and I typically have at least that many), and they mix wsl and native Windows, the lack of state isolation across IntelliJ or VSCode windows makes the Continue extension not know whether to serve up wsl or powershell. This problem is the same in IntelliJ. as in VSCode. (though not cross-product)
Look at this image. The left window I opened explicitly through wsl, and IntelliJ's terminal gives me a *nix terminal and path. In the extension, my rnj-1 model here is showing the current folder through Powershell path (which is the pattern #9810 and #9740 fixed and predicted for here: powershell when in wsl Ubuntu). In the right window I started a new project on the DOS side and ran
pwdagain through the extension.Below is upon opening a 3rd window, now through wsl again. The image shows: before opening a file, it still thinks it's in window 2. Once I open a file through that wsl window, though, the extension returns to the original
powershell::wslshell and path.github-actions commentedon May 27, 2026
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
github-actions commentedon Jun 7, 2026
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, you are welcome to leave a comment and this will keep the issue open. However please note that this repo is no longer being actively maintained.