DEV Community

Discussion on: PyCharm vs Visual Studio Code to boost Productivity?

Collapse
 
theoutlander profile image
Nick Karnik

I've used most of the IDE's out there.

All of JetBrains' products are great! That's why I pay for them. If you've started on VSC and are comfortable with it and feel productive, there's no reason to switch.

At the end of the day, think about which IDE makes you feel comfortable and productive.

Collapse
 
shanalikhan profile image
Shan Khan

Yes, i used JetBrain's IntelliJ and found it very good. I am using Visual Studio Code and struggling with Pip Virtual Environments as of now and I heard PyCharm does it very well.

Thats why i wanted to hear the developers using PyCharm on their reviews about it.

Collapse
 
alexmacniven profile image
Alex Macniven

I always find it quicker and easier to manually supply the location of the venv in the settings file(s) as Using the Select Python Interpreter command doesn't do a good job at finding them.

I use pipenv so all my environments are in my C:\Users\Alex\.virtualenvs\ directory so there could be a more elaborate solution where the vscode command would monitor this directory for any python executables?

Thread Thread
 
shanalikhan profile image
Shan Khan

Using the Select Python Interpreter command doesn't do a good job at finding them.

I just found setting python.venvPath to your virual env. will allow Interpretor to list them in Code.

For example :

"python.venvPath": "~/python-virtual-environments/"
Collapse
 
thebouv profile image
Anthony Bouvier

What issues are you having with VSC and venvs? I'd like to try and help you.

What are you using to set up for venv? python -m venv or pipenv or the older virtualenvwrapper stuff?

I recently started using pipenv and it is a godsend.

And telling your python project in VSC to use a particular venv is very easy. Let me know how I can help.