Skip to content
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

Goto opens package from another virtualenv #281

Open
ak4nv opened this issue Jan 31, 2019 · 1 comment
Open

Goto opens package from another virtualenv #281

ak4nv opened this issue Jan 31, 2019 · 1 comment
Labels
bug good for beginer Issue could be done without "specific" knowladge of plugin

Comments

@ak4nv
Copy link

ak4nv commented Jan 31, 2019

Hi!

I have a few projects and I switch between them using hotkey Ctrl+Alt+P. When I press Ctrl+Shift+G on the object (for ex. Blueprint from Flask package) Sublime opens the object definition from the package of the current project virtualenv. (~/.virtualenvs/<current_project>/...)
If I switch to another project and do the same Sublime opens the object definition from the package of the previous project virtualenv. (~/.virtualenvs/<prevous_project>/...)

Only restart Sublime fix this issue until I do the same.

my jedi settings:

{
  // "logging_level": "debug",
  "sublime_completions_visibility": "jedi",
  "auto_complete_function_params": "required",
  "auto_complete_triggers": [{"selector": "source.python", "characters": "."}],
  "python_virtualenv": "$WORKON_HOME/$project_base_name/",
  "python_interpreter": "$WORKON_HOME/$project_base_name/bin/python"
  // "python_package_paths": [
  //   "$project_path",
  //   "$WORKON_HOME/$project_base_name/lib/python3.6/site-packages",
  //   "$WORKON_HOME/$project_base_name/lib/python2.7/site-packages"
  // ]
}
@srusskih
Copy link
Owner

Seem like we should relay not only on window id but also on project names or so.

@srusskih srusskih added bug good for beginer Issue could be done without "specific" knowladge of plugin labels Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good for beginer Issue could be done without "specific" knowladge of plugin
Projects
None yet
Development

No branches or pull requests

2 participants