转载自

https://medium.com/issuehunt/10-visual-studio-code-extensions-for-python-development-de0be51bbeed​medium.com

Visual Studio Codeis highly extensible and customizable. Take a look at some of the extensions that make Python development in VSCode a better experience.

1. Python by Microsoft

An extension with rich support for the Python language (including Python 3.6), including features such as linting, debugging, IntelliSense, code navigation, code formatting, refactoring, unit tests, snippets, and more!

This blog post would be flawed if it didn’t feature the official Python extension by Microsoft. I can write the whole article around this extension alone.

GitHub: https://github.com/Microsoft/vscode-python

2. Python Docstring by Nils Werner

Visual Studio Code extension to quickly generate docstrings for python functions. Quickly generates a docstring snippet that can be tabbed through.

If you are like me who likes to comply with the PEP8 standards, then you must be finding yourself writing a lot of docstrings. This is where this extension comes in handy.

GitHub: https://github.com/NilsJPWerner/autoDocstring

3. Code Runner by Jun Han

Code Runner does what its name suggests. It will execute statements from a variety of languages and output the results to the built-in Output Window.

It will save you the time of switching back and forth between the editor and the terminal.

GitHub: https://github.com/formulahendry/vscode-code-runner

4. Anaconda Extension Pack by Microsoft

The Anaconda Extension Pack is a set of extensions that enhance the experience of Anaconda customers using Visual Studio Code. It includes the following set of Visual Studio Code extensions:

  • Microsoft Python Extension for Visual Studio Code
  • YAML Support by Red Hat

GitHub: https://github.com/Microsoft/vscode-anaconda-extension-pack

5. Trailing Spaces by Shardul Mahadik

Highlight trailing spaces and delete them in a flash! This extension is a port of the popular Sublime Text plugin Trailing Spaces.

Since Python is an indented language, trailing spaces can cause errors.

GitHub: https://github.com/shardulm94/vscode-trailingspaces

6. Better Comments by Aaron Bond

The Better Comments extension will help you create more human-friendly comments in your code. With this extension, you will be able to categorise your annotations into:

  • Alerts
  • Queries
  • TODOs
  • Highlights

I personally don’t believe that the comments are redundant. How many times does it happen to you, that you return to a code base after a break and none of it makes sense? Well, happens a lot to me. That’s why I highly recommend people to documents their code.

And this extension helps me make the most out of my comments.

GitHub: https://github.com/aaron-bond/better-comments

7. Djaneiro — Django Snippets by Scott Barkman

The Python extension by Microsoft pretty much covers everything. They also provide snippets for Python.

But for Django related snippets you should try this extension by Mr Barkman. A collection of snippets for Django templates, models, views, fields & forms.

GitHub: https://github.com/ScottBarkman/vscode-djaneiro

8. flask-snippets by cstrap

Flask snippets collections. Initially ported from PyCharm, TextMate, SublimeText and other editors/IDEs.

In between here I also want to mention the extension called Jinja by wholroyd. This extension adds language colourization support for the Jinja template language to VSCode.

GitHub: https://github.com/cstrap/flask-snippets

9. Code Linting

To enable the code linting in your VSCode, you have to install the linter.

$ pip install pylint

Once the pylint has been installed in your work environment, it'll work out of the box.

10. GitLens — Git supercharged by Eric Amodio

GitLens supercharges the Git capabilities built into Visual Studio Code. It helps you to visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.

After all version control is an integral part of the software development.

GitHub: https://github.com/eamodio/vscode-gitlens

黄哥谈转行当程序员

https://www.bilibili.com/video/av22524233​www.bilibili.com

黄哥谈转行当程序员之二

https://www.bilibili.com/video/av22568243​www.bilibili.com

黄哥Python提醒:转行当程序员修炼之路

黄哥:黄哥Python提醒:转行当程序员修炼之路​zhuanlan.zhihu.com

黄哥Python:提醒要转行当程序员的朋友,学习要分先后主次

黄哥:黄哥Python:提醒要转行当程序员的朋友,学习要分先后主次​zhuanlan.zhihu.com

visual studio code Python终端运行_黄哥Python:VS Code 10个Python 插件相关推荐

  1. visual studio code Python终端运行_微软常用运行库合集32/64位只需一键全部安装

    微软常用运行库合集32/64位这些运行库都是采用Microsoft Visual Studio 20XX编写的软件必须使用的公用DLL运行库,相当于程序的字典文件:只需要一键全部安装,堪称装机必备神器 ...

  2. chatgpt赋能python:如何使用Python选中一行文本?——一名有10年Python编程经验的工程师

    如何使用Python选中一行文本?--一名有10年Python编程经验的工程师 如果你是一名Python工程师,你肯定会遇到这样的问题--如何在文本编辑器或终端中选中一行代码或文本?虽然这通常是一个简 ...

  3. visual studio code Python终端运行_VS Code 6 月 Python 扩展更新

    优质文章,第一时间送达! 微软发布了 6 月的 Visual Studio Code Python 扩展更新,此版本除了解决 53 个问题外,还开发了新功能,例如逐行运行和启动页面. 逐行运行(Run ...

  4. visual studio 调试 定义debug常量_有趣的阅读 12个提高生产力的Visual Studio调试技巧...

    以前因为工作的关系,接触过不少程序员同行,发现很多同学对所谓的小技巧tips感兴趣.本文就是一篇很有趣的文章,总结介绍了12个关于"宇宙第一IDE"-- Visual Studio ...

  5. Visual Studio集成Qt环境搭建_详解与测试

    1.利器≠戾气 接了两个项目,而这两个项目说起来也很有意思. 一个是监护仪软件开发,要求利用MFC进行开发,因为在此之前接近两年时间一直进行MFC开发:来到清华后,碰到了好多的计算机编程大牛,就GUI ...

  6. Visual Studio 远程调试正在运行的进程

    使用场景 当项目在测试环境上有bug,需要运行代码调试一下,这时就需要在测试环境上安装一个调试工具,然后在本地运行代码,远程链接到测试环境服务器来调试代码:(假期鸽了这末长的时间) 方式一:工具下载 ...

  7. Visual Studio 2017新建及运行C++程序步骤

    visual studio 如何新建c++程序 新建步骤 1.菜单栏:文件 –> 新建 –>项目,如下图所示: 2.接着出现下图,先更改名称和项目地址,接着双击"Windows桌 ...

  8. Visual Studio 远程调试正在运行的进程

    使用场景 当项目在测试环境上有bug,需要运行代码调试一下,这时就需要在测试环境上安装一个调试工具,然后在本地运行代码,远程链接到测试环境服务器来调试代码:(假期鸽了这末长的时间) 方式一:工具下载 ...

  9. Windows 10 上强制Visual Studio以管理员身份运行

    Windows 10 的一个既安全又蛋疼之处是UAC的行为被改变了.以往在Windows 7中,只要关闭了UAC,自己的帐号又是本机管理员组的,任何程序都会以管理员身份启动.然而,在Windows 8 ...

最新文章

  1. php 魔术方法 多继承,day23:单继承多继承菱形继承__init__魔术方法
  2. jQuery学习笔记(五六)——高级事件
  3. 人人都写过的5个Bug!
  4. 31.1 inforMATION_SCHEMA aCcess syntax
  5. Guns 添加功能实现_入门试炼05
  6. Python url中提取域名(获取域名、获取顶级域名、tldextract)
  7. 【script】python 解析 Windows日志(python-evtx)
  8. X86 CPU特性之(2)-eagerfpu
  9. VueGoogleMaps在vue中的使用
  10. linux usb hcd nak,第16章通用串行总线接口(USB)mpc83xx中文手册.doc
  11. c++解析xml文件_XML文件解析实践(DOM解析)
  12. 论文阅读笔记二十八:You Only Look Once: Unified,Real-Time Object Detection(YOLO v1 CVPR2015)...
  13. python开发效率怎样_Python 的开发效率真的比 Java高吗?
  14. eclipse连接数据库
  15. 销售订单的 状态 变更
  16. 德卡Z90读卡器读取社保卡,德卡Z90读卡器CSharp示例程序源码
  17. easyUI的常用API
  18. 腾讯实习生面试经历分享
  19. 为什么大部分服务器都用Linux系统
  20. 专接本 微机原理简答题 更新

热门文章

  1. alexa 网站的 Site Stats 详解(转)
  2. Fragment切换的方式介绍和一些问题的解决
  3. 我加入CSDN90天,始终没找到那个绝世高手
  4. 小程序 腾讯云 php,使用微信小程序和腾讯云实现直播功能
  5. 9.已知两个链表A和B分别表示两个集合,其元素递增排列,设计一个算法,求A和B的交集,并存放于A链表中(A中只有A与B相同的部分)
  6. 2022-2028全球财务会计咨询服务行业调研及趋势分析报告
  7. 2018 CVPR-Human Semantic Parsing for Person Re-identification
  8. 多人上传文件公共网盘_上传网盘的信息也会泄露?个人隐私照片被多人传看,太过分了...
  9. Tomcat快速入门(Tomcat安装 把一个项目发布到tomcat中 Eclipse配置Tomcat idea配置tomcat)
  10. 基于Spring Boot垂钓服务系统的设计与实现毕业设计源码071739