-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the python extension venv (#820)
Summary: Fixes #6 Fixes #645 Fixes #183 If [the VsCode Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) is installed, use the Python interpreter that is selected in the extension to start the pyre language server. Also, subscribe to environment switches and restart the pyre language server with the new environments. If the extension is not present, we retain the original behaviour of the extension. This is very useful for people that may have multiple environments installed but is more useful for people that use the VsCode SSH extension and cannot benefit from [this workaround](#6 (comment)). Pull Request resolved: #820 Test Plan: I ran the extension locally and it seems to be picking up the interpreter path. Reviewed By: stroxler, inseokhwang Differential Revision: D56205532 Pulled By: kinto0 fbshipit-source-id: dc0c00f5a41d37c5cb7d9f85a60ac0ba9230456a
- Loading branch information
1 parent
3ef054e
commit 8b9d60a
Showing
4 changed files
with
94 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/out | ||
**/.vscode-test | ||
*.vsix |
This file contains 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
This file contains 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
This file contains 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