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
There was my original question on tracking mode integration.
Integrating with pyvenv-tracking-mode would simply require setting pyvenv-activate or pyvenv-workon, wouldn't it? I think it would be a good idea to set either one from the code, yes.
Also, do you want a recursive directory-crawling-up-towards-home-or-root behavior?
The .project file has a pretty specific location. What crawling were you thinking of?
I was under the impression that .project is in the directory of the virtualenv itself. Is that the case?
That is indeed the case. $VIRTUAL_ENV/.project, to be exact.
($VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME, really, but newer versions of virtualenvwrapper do not export most $VIRTUALENVWRAPPER_* environment variables anymore, and I don't think many people customize this, so that can easily be ignored until we get bug reports about it.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #28.
Detects virtualenv for buffer based on the directory.
LMK what how you want to integrate this into tracking mode. I'll update this PR.