Giter Club home page Giter Club logo

vscode-python-auto-venv's People

Contributors

semantic-release-bot avatar whinarn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vscode-python-auto-venv's Issues

Can you give a example about how to use this plugin?

sorry to ask here,but I dont get it,is this plugin used for init venv automatically,or just setup the enviroment(which already inited with some command like python -m venv bob)

for example,I started a new py project in vscode,I want it support venv
now I got a folder called exampleProject,and a file main.py in it,now I open main.py in vscode,will this plugin automatically init venv for me?Or when we in the main.py edit window I run ctrl+shift+p,input pythonautovenv.installVenv,will it do something like python -m venv bob,and then detect the libary imported from main.py and auto pip install them?

Add poetry support

I believe poetry is nowadays python dependency resolution practice.
It would be great to add poetry support.

Error in importing other files in same directory Python 3

Issue Type: Bug

I have a file called errors.py in the same directory as my main.pyw file, and main imports error. Visual Studio Code (and PyCharm) says unresolved import 'errors'. Importing any file results in the same message.

Extension version: 1.1.1
VS Code version: Code 1.48.2 (a0479759d6e9ea56afa657e454193f72aef85bd0, 2020-08-25T10:13:11.295Z)
OS version: Windows_NT x64 10.0.19041

Automatically detect installations of virtual environments while focusing a file that depends on it

Is your feature request related to a problem? Please describe.
When you are editing a file where its virtual environment is not installed, and it gets installed outside of vs code, the extension doesn't automatically detect this, and you have to switch to a python file in another directory to trigger a redetection.

Describe the solution you'd like
The virtual environment installation for your currently focused file should be detected automatically so that no further manual action is required by the user.

Describe alternatives you've considered
Alternatively or additionally there could be an action to ask the extension to redetect the virtual environment.

believe it does not detect "python -m venv"

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
python by default has its own virtual environment by command
python -m venv [projectname]
once created, it will created several folders inside [projectname] folder and create file pyvenv.cfg.
I believe this extension does not auto detect it.

Describe the solution you'd like
A clear and concise description of what you want to happen.
it is good if this extension able to auto detect it and have the terminal inside vscode auto start inside this virtual env.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.