-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
Show auto-completion items together with their src path #1728
Comments
It can be useful for TypeScript/JavaScript. But for Python and many other languages can't be multiple symbols with the same name. |
In Python there cannot be more than one symbol with a given name in scope at a time. My guess is that what VSCode is doing here for JavaScript is showing symbols which are not yet imported and that when one was selected the proper import statement would also be added. If that is the case, then this feature is actually quite different -- what would really be wanted here is a way to show the symbols which match a given name and are present anywhere in the Python environment, rather than those in the scope of the current file. Jedi currently focusses on the latter. |
Something like However Jedi currently has no intentions to search diffferent files for random symbols. Jedi would just be too slow for that. So I'm closing, because without a cache this is just not feasible. Not that it would be hard to implement, but it's just way too slow for medium/large projects. |
If we ever have a solution for #1059, I think we can improve some things in the direction you want, but since I doubt that that will ever be the case, closing makes more sense. |
VSCode can now show autocompletion items with additional string: path of source file.
additional string is of gray font color.
how Jedi can help? to do the same.
@kvichans @OlehL for your info.
The text was updated successfully, but these errors were encountered: