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
I'm trying to enable auto completion in the monaco editor from different custom python folders using python-lsp-server. For a single folder this works fine using the workspaceFolder setting from the clientConfig as suggested in the python example config. So for my requirements i tried to use workspaceFolders, but i can not manage to set more folders, i think i'm missing something on the client side.
On the client side is no setting for workspaceFolders so i tried to implement a custom workspaceProvider together with a custom workspace file, but this setting seem not to be used at all.
Is there any working example how to use multiple workspaceFolders?
Hi @zerocewl no we don't have such an example. What I observed though is that the pyright language server requires to have the files physically available (e.g. import). The import to hello2.py in this example is not marked as erroneous if the file exists. As client and server don't share the same file system this leads to problems. I am currently looking for a solution.
I don't know how pyright behaves in this scenario with multiple workspaces. Have you tried this in VSCode just to see if or how it works there?
I'm trying to enable auto completion in the monaco editor from different custom python folders using
python-lsp-server
. For a single folder this works fine using theworkspaceFolder
setting from theclientConfig
as suggested in the python example config. So for my requirements i tried to useworkspaceFolders
, but i can not manage to set more folders, i think i'm missing something on the client side.In the
languageClientConfig
startOptions
i usedworkspace/didChangeWorkspaceFolders
which seems to work withpython-lsp-server
.On the client side is no setting for
workspaceFolders
so i tried to implement a customworkspaceProvider
together with a custom workspace file, but this setting seem not to be used at all.e.g.
Can you suggest what i'm missing here?
Is there any working example how to use multiple workspaceFolders?
The text was updated successfully, but these errors were encountered: