Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Unable to use SourceTrail with VSCode and WSL #1207

Open
GomerOfDoom opened this issue Aug 14, 2021 · 1 comment
Open

Unable to use SourceTrail with VSCode and WSL #1207

GomerOfDoom opened this issue Aug 14, 2021 · 1 comment

Comments

@GomerOfDoom
Copy link

I am having trouble connecting SourceTrail to VSCode in remote mode to WSL.

My situation is as follows:

I have a linux distro (Ubuntu) set up in WSL for my development. I use VSCode in Windows in remote mode (i.e. I am running VSCode as described here: https://code.visualstudio.com/docs/remote/wsl).

I open SourceTrail and attempt to connect from VSCode through the command pallete (CTRL+SHIFT+P), and then "Sourcetrail: (Re)start Server"

Unfortunately, at this point, I get the error in the lower right corner of VSCode: "Sourcetrail - Can't send message: is Sourcetrail running?"

I suspect that the VSCode server (which is running in Ubuntu under WSL) is looking for Sourcetrail locally (i.e. it's looking for Sourcetrail to also be running in Ubuntu under WSL), when Sourcetrail is actually running in Windows.

I did some research and it looks like these pages might be useful:
https://code.visualstudio.com/api/advanced-topics/remote-extensions
https://code.visualstudio.com/docs/remote/troubleshooting#_extension-tips

Is there a way to fix this? Have I configured things incorrectly? Any help is greatly appreciated! Thanks!

-Paul

@mlangkabel
Copy link
Contributor

Currently Sourcetrail and all editor plugins assume that everything runs locally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants