3 ms·
I'm using the official Python extension, made by Microsoft itself.
by _bxg1 7y ago
I'm using the official Python extension, made by Microsoft itself.
- Glavnokoman 7y agoThat's the thing. VSCode itself is quite good but all MS made extensions I tried are just garbage.
- _bxg1 7y agoThe TypeScript integration is incredible. It's as good as a paid IDE. Python is the only other first-party extension I've used, though.
- eddyg 7y agoDid you add Microsoft's Pyright[0] extension as well? It works hand-in-hand with the Python extension and makes VS Code a fantastic Python editor IMO. You may want to set pyright.disableLanguageServices in settings since there is some overlap in the Pyright and Python extensions that can result in duplicate results. (I'm not sure if you lose any Pyright features when you do this though...) [0] https://marketplace.visualstudio.com/items?itemName=ms-pyright.pyright https://marketplace.visualstudio.com/items?itemName=ms-pyrig...
- _bxg1 7y agoNo, I didn't know about that one; the base one has MyPy and Pylint integration so I assumed it was the best version of each that they planned on implementing. I wonder why they would break out the "good version" into a separate extension.
- eddyg 7y agoI've always found pylint to be pretty useless... see for example https://lukeplant.me.uk/blog/posts/pylint-false-positives/ https://lukeplant.me.uk/blog/posts/pylint-false-positives/ I always pip install flake8 in my venvs and the standard Python extension can also use that just fine: "python.linting.pylintEnabled": false, "python.linting.flake8Enabled": true,
- _bxg1 7y agoIt's what we use at my workplace; not my call to make
- _bxg1 7y agoJust tried Pyright and it's incredible. Wow; why in the world don't they include this functionality in the regular extension? Thanks so much!