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 using OmniSharp LSP Client to communicate with the jedi-language-server. I need to auto import a module (if I understand correctly, then I don't need to do "import theAutoImportedModule" in scripts where I use theAutoImportedModule). Because that seems not to work for me. How can I check that autoImportModules set correctly? Do I have to set the extraPaths or workspace folder to the path where the module is that I want to auto import? In the attachment you will find the logfile from jedi-language-server. By the way, is there a posibility to do autoImportModule what can do "from moduleIwantToAutoImport import *"? JediLogfile.txt
The text was updated successfully, but these errors were encountered:
tl;dr I'm not exactly sure what you're asking, but see below for some information that may be helpful.
Hi there! autoImportModules is an optimization that speeds up autocompletion for complex modules. Jedi will actually execute import statements so you get fast auto completion.It does not prevent you from needing to type something like import mylib in your code. See here for documentation about its configuration if you're using coc-jedi: https://github.com/pappasam/coc-jedi#jedijedisettingsautoimportmodules
Since you're apparentlyusing another framework to interact with jedi-language-server, I suggest referring to that framework's documentation.
Hi,
I'm using OmniSharp LSP Client to communicate with the jedi-language-server. I need to auto import a module (if I understand correctly, then I don't need to do "import theAutoImportedModule" in scripts where I use theAutoImportedModule). Because that seems not to work for me. How can I check that autoImportModules set correctly? Do I have to set the extraPaths or workspace folder to the path where the module is that I want to auto import? In the attachment you will find the logfile from jedi-language-server. By the way, is there a posibility to do autoImportModule what can do "from moduleIwantToAutoImport import *"?
JediLogfile.txt
The text was updated successfully, but these errors were encountered: