Replies: 1 comment 3 replies
-
@ratking82 , thank you for bringing this up! Answering the first question : when I was adding support for persistent configuration the idea was to create a single image or container for the project, so apparently I haven't added any features to support this case. To be clear though: you want to use a single image with two different entry points? And allow selecting the right one based on a certain criteria (like having the right major mode), right? And the second question: I remember adding a path tests to the image / container selection. Are paths of Project A and B somehow related? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello @factyy,
I tried using
lsp-docker
with persistent config based on YAML but ran into a few issue. Could you please help me resolve them ?I will try and explain the issues in details below.
I have two projects A & B. Project A consists of C/C++, Python and shell scripts. While Project B has mainly C code. Project A uses a container based dev environment. I deployed
clangd
into the dev container of Project A such that clang can find all lib sources etc and used the manual langserver deployment guide in the lsp-docker repo. It worked without an issue. The problem started when I tried to configure the container to also havepyright
. It seems I cannot create a YAML based config which can create separate containers from the same image file.The second issue is with Project B. Project B uses the
emacslsp/lsp-docker-langservers
image. But every time I open any file inside the project the container for Project A starts up. As Project A has different path mappings than Project B, lsp fails to start the server. Also as Project A was configured with clangd which is not available in theemacslsp/lsp-docker-langservers
image the image could not start up. I addedclangd
to the image and retried and that is when I noticed the above issue.Thank you for your help in advance.
Beta Was this translation helpful? Give feedback.
All reactions