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

fix venvPath interpeter lookup and improve label formatting #815

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

slint
Copy link
Contributor

@slint slint commented Mar 12, 2017

Interpeter lookup for the python.venvPath setting should use the lookForInterpretersInVirtualEnvs function.

Also since usually these virtualenvs have a name, their label should be more descriptive, eg. project-name - python3.5.

(NOTE: I tried to minimize the number of lines I affected since I'm not very familiar with TypeScript/Javascript coding style and conventions. Feel free to modify, or ask me to modify, any part of the PR)

@DonJayamanne DonJayamanne merged commit 35c49ce into DonJayamanne:master Apr 4, 2017
amos402 pushed a commit to amos402/pythonVSCode that referenced this pull request Apr 25, 2017
DonJayamanne pushed a commit that referenced this pull request Feb 21, 2018
* Fix pylint search

* Handle quote escapes in strings

* Escapes in strings

* CR feedback

* Missing pip

* Test

* Tests

* Tests

* Mac python path

* Tests

* Tests

* Test

* "Go To Python object" doesn't work

* Proper detection and type population in virtual env

* Test fixes

* Simplify venv check

* Remove duplicates

* Test

* Discover pylintrc better + tests

* Undo change

* CR feedback

* Set interprereter before checking install

* Fix typo and path compare on Windows

* Rename method

* #815 - 'F' in flake8 means warning
DonJayamanne pushed a commit that referenced this pull request Feb 21, 2018
* Fix pylint search

* Handle quote escapes in strings

* Escapes in strings

* CR feedback

* Missing pip

* Test

* Tests

* Tests

* Mac python path

* Tests

* Tests

* Test

* "Go To Python object" doesn't work

* Proper detection and type population in virtual env

* Test fixes

* Simplify venv check

* Remove duplicates

* Test

* Discover pylintrc better + tests

* Undo change

* CR feedback

* Set interprereter before checking install

* Fix typo and path compare on Windows

* Rename method

* #815 - 'F' in flake8 means warning

* 730 - same folder temp

* Properly resolve ~

* Test

* Test
DonJayamanne pushed a commit that referenced this pull request Feb 22, 2018
* Fix pylint search

* Handle quote escapes in strings

* Escapes in strings

* CR feedback

* Missing pip

* Test

* Tests

* Tests

* Mac python path

* Tests

* Tests

* Test

* "Go To Python object" doesn't work

* Proper detection and type population in virtual env

* Test fixes

* Simplify venv check

* Remove duplicates

* Test

* Discover pylintrc better + tests

* Undo change

* CR feedback

* Set interprereter before checking install

* Fix typo and path compare on Windows

* Rename method

* #815 - 'F' in flake8 means warning

* 730 - same folder temp

* Properly resolve ~

* Test

* Test

* Fix dot spacing

* Remove banner

* Delete banner code
DonJayamanne pushed a commit that referenced this pull request Feb 22, 2018
* Fix pylint search

* Handle quote escapes in strings

* Escapes in strings

* CR feedback

* Missing pip

* Test

* Tests

* Tests

* Mac python path

* Tests

* Tests

* Test

* "Go To Python object" doesn't work

* Proper detection and type population in virtual env

* Test fixes

* Simplify venv check

* Remove duplicates

* Test

* Discover pylintrc better + tests

* Undo change

* CR feedback

* Set interprereter before checking install

* Fix typo and path compare on Windows

* Rename method

* #815 - 'F' in flake8 means warning

* 730 - same folder temp

* Properly resolve ~

* Test

* Test

* Fix dot spacing

* Remove banner

* Delete banner code

* Add pyenv and direnv folders

* Basic venv path search tests

* PYENV_ROOT resolution

* PYENV_ROOT test

* Use ICurrentProcess

* Fix travis
DonJayamanne pushed a commit that referenced this pull request Feb 27, 2018
* Fix pylint search

* Handle quote escapes in strings

* Escapes in strings

* CR feedback

* Missing pip

* Test

* Tests

* Tests

* Mac python path

* Tests

* Tests

* Test

* "Go To Python object" doesn't work

* Proper detection and type population in virtual env

* Test fixes

* Simplify venv check

* Remove duplicates

* Test

* Discover pylintrc better + tests

* Undo change

* CR feedback

* Set interprereter before checking install

* Fix typo and path compare on Windows

* Rename method

* #815 - 'F' in flake8 means warning

* 730 - same folder temp

* Properly resolve ~

* Test

* Test

* Fix dot spacing

* Remove banner

* Delete banner code

* Add pyenv and direnv folders

* Basic venv path search tests

* PYENV_ROOT resolution

* PYENV_ROOT test

* Use ICurrentProcess

* Initial

* Second

* Display name

* Simplify and clean

* Test

* Test

* Tests

* Performance

* Test fixes

* venv folder settings

* Fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants