-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support non-file URIs #199
Comments
I think there is an issue somewhere about supporting URIs that have schemes other than “file”. I suspect this is what you’re hitting. I believe the SourceGraph language server has better support for things like this right now. |
@gatesn Thanks. But the sourcegraph language server hasn't been maintained for a while. After so long, is there any workaround or speical configuration to make the pyls support non-file uri?? Or can you point out some other alternitives? |
@exiaohu are you looking to use arbitrary URLs? e.g. https etc. Or are you looking for purely in-memory analysis, e.g. only things passed by didOpen will be valid |
Any updates on the subject ? I am trying to make pyls work with monaco editor with inmemory scheme files, and cant find a way to have intellisense across multiple files. I would like to import methods/class from a model created in monaco editor into an other model, (import method from "inmemory://toto.py" into "inmemory://tata.py") , but pyls seems to not understand that toto.py exist while editing tata.py. |
Summary
I've tried to use PYLS on Monaco Editor using Monaco Language Client with the following configuration
And everything that this blog explained.
Everything works as expected but the auto complete. When I do
ctrl + space
on the editor, there's only "No Suggestions." and I saw the PYLS logs error as followsCould you help me? is it about the monaco URI that I pass ?
inmemory://dummy.py
The text was updated successfully, but these errors were encountered: