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
Python auto completion doesn't work with $project_path config #223
Comments
I would love to be able to do this as well, especially for For example:
|
@gtalarico Thank you so much, but I'm looking for |
oh my (: https://github.com/srusskih/SublimeJEDI/blob/master/sublime_jedi/utils.py#L311 going to fix this today. |
have pushed changes - 78736e3 |
@srusskih thanks for your update.
It seems that |
thanks. working on it. |
I thought I know what I'm doing, going to write some test and review this old code (: |
@mortezaipo can I ask you check jedi process for params ?
|
@srusskih I've checked that, there is no background process associated to
While sublime console shows it:
|
Also this is my {
"auto_complete_function_params": "",
"python_interpreter": "$project_path/venv/bin/python"
} |
sublime should run |
There is no process with this name too:
|
and completion was triggered? that's odd... |
what i'm trying to figure out is if the pluging uses python from settings or not. |
@srusskih,
Now it works fine. So there is no change required in your code (I've tested you commit and it shows error). This is my subl_vars['$packages'] = sublime.packages_path()
try:
subl_vars['$project'] = view.window().project_file_name()
except AttributeError:
subl_vars['$project'] = get_project_file_name(view.window()) Kindly accept my apologize for this mistake. |
changes reverted :) |
i'm finding a way to setup python interpreter globally, it think so boring to setup Py for each project. Pyenv gimme this file as python current active environ[1] but when i setted it on global settings it seems dont work, someone can me help me? |
I've set this config in my
jedi-user
config:But it can't find installed packages on project
venv
, so auto completion doesn't work.Note: each project has its own
venv
directory. for example:Thanks in advanced.
The text was updated successfully, but these errors were encountered: