search
HomeBackend DevelopmentPython TutorialUse VSCode to write Python, these 14 plug-ins are not to be missed!

用 VSCode 写 Python,这14个插件不容错过!

It can be said that Visual Studio Code, the editor, has allowed Microsoft to win back the king position in the open source community. You must know that 14 million of the 24 million developers in the world call VSCode their home. , coupled with the combination of GitHub and VSCode, almost all programmers cannot do without VSCode. However, VSCode is so good that it is worth using by every programmer. I even think non-programmers can use it to code.

If you haven’t used VSCode yet, then visit here to install one [1]. It may open up a new world.

Today I share 14 very practical VSCode plug-ins that can make you write code like a god, especially Python code.

In view of the lightweight nature of VSCode, old users don’t have to worry about performance problems caused by installing “too many” extensions. If you want to do your job well, you must first sharpen your tools, so feel free to install it!

1. Refactor your Python code in real time: Sourcery

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

When you write Python code, it will Help you improve your code in real time. It automatically reviews and refactors your code so you can spend more time focusing on writing new code and less time cleaning up. Can make your Python code cleaner and more readable.

Use it to quickly find areas where your code can be refactored, see immediate suggestions for improvements, and understand how new changes affect code quality.

Main functions:

  • Real-time refactoring suggestions
  • Continuous code quality feedback
  • Multiple file analysis
  • Duplicate code Detection
  • GitHub Pull Request Comments
  • Sourcery CLI, CI and Pre-Commit Hook options

Click here to install Sourcery[2]

2 . Mark a certain line for jumping, equivalent to the bookmark function: Bookmarks

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

  • New sticky engine
  • Add virtual workspace support
  • Add workspace trust support
  • Comprehensive remote development support
  • Add cross-platform support
  • Improved sidebar Availability

Click here to install Bookmarks[3]

3. Rest API client: Thunder Client

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

Although it is called Thunder, it has nothing to do with Thunder. Its name is Thunder Client, which is a lightweight Rest API client for Visual Studio Code. It is handmade by Ranga Vadhineni and has a simple and clean design.

So, you can uninstall the bloated PostMan.

Click here to install Thunder Client[4]

4. Hover to view the document: Docs View

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

用 VSCode 写 Python,这14个插件不容错过!

Place the cursor on a function or class to display related documents in the sidebar or panel

Click here to install Docs View[5]

5. Code Search: Sourcegraph

Results Demonstration:

用 VSCode 写 Python,这14个插件不容错过!

Sourcegraph’s code search allows you to quickly find and fix content in all your code.

With it, you can search millions of open source repositories for free directly from the VS Code IDE. Learn from useful code examples, search for best practices, and reuse code from millions of repositories in the open source universe.

Additionally, with a free Sourcegraph Cloud account, you can sync your private and public repositories and search all your code in a single view in VS Code.

Sourcegraph’s code intelligence features provide fast cross-repository navigation with Go to Definition and Find References features to quickly understand new code and find answers in codebases of any size.

Click here to install Sourcegraph[6]

6. AI helps you write notes: AI Doc Writer

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

Just select the function code and press a shortcut key to automatically generate comments for the method, which can be used to generate function documents. Let artificial intelligence help you write comments in the previous article. Support for Python has been introduced.

Click here to install AI Doc Writer[7]

7. View file size: filesize

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

It displays the size of the focused file in the editor's status bar, and if you click on the status bar component it will display more information about the file.

Click here to install filesize[8]

8. Explain the code: Krinql

If you don’t understand the code, you can ask Krinql to answer, or let it write document characters String:

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

Krinql lets you write better code, super fast. It solves the boring parts of writing code, such as writing docstrings. It can also find how to use libraries and automate them in the VS Code editor itself.

Click here to install Krinql[9]

9. GistPad

GistPad allows you to edit GitHub Gists and repositories directly in VSCode. Repositories and repositories can be opened, created, deleted, forked, and starred, then seamlessly start editing files like local files without having to clone, push, or pull anything. It's like your own developer library for building and referencing code snippets, commonly used configurations/scripts, programming related notes, knowledge base, and interactive examples.

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

Click here to install GistPad[10]

10. Generate beautiful code screenshots: CodeSnap

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

Click here to install CodeSnap[11]

11. Automatic completion: Visual Studio IntelliCode

Effect display :

用 VSCode 写 Python,这14个插件不容错过!

Click here to install Visual Studio IntelliCode[12]

12. Automatic real-time evaluation of Python code: AREPL for Python

Effect display :

用 VSCode 写 Python,这14个插件不容错过!

Click here to install AREPL for Python[13]

13. Check the Python code in real time: Wolf

In other words , you can experience the WYSIWYG experience in the Python interpreter in VSCode, which is functionally similar to AREPL for Python.

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

Click here to install Wolf[14]

14. Add the Gather function to the Jupyter extension

You must have used the Jupyter extension. This plug-in should be used with Jupyter:

用 VSCode 写 Python,这14个插件不容错过!

Effect display:

用 VSCode 写 Python,这14个插件不容错过!

用 VSCode 写 Python,这14个插件不容错过!

Click here to install Gather[15]

The above is the detailed content of Use VSCode to write Python, these 14 plug-ins are not to be missed!. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
atom中 40+ 个常用插件推荐分享(附插件安装方法)atom中 40+ 个常用插件推荐分享(附插件安装方法)Dec 20, 2021 pm 04:14 PM

本篇文章给大家分享40+ 个atom常用插件,并附上在atom中安装插件的方法,希望对大家有所帮助!

五个IntelliJ IDEA插件,高效编写代码五个IntelliJ IDEA插件,高效编写代码Jul 16, 2023 am 08:03 AM

人工智能AI是当前广受认可的未来趋势和发展方向。虽然有些人担心AI可能会取代所有的工作,但实际上只会取代那些重复性高、产出低的工作。因此,我们应该学会更加聪明地工作,而不是使劲努力地工作。本文介绍5个由AI驱动的Intellij插件,这些插件可以帮助你提高生产力,减少繁琐的重复性工作,让你的工作更加高效、便捷。1GithubCopilotGithubCopilot是由OpenAI和GitHub联合开发的一款人工智能代码辅助工具。它使用了OpenAI的GPT模型来分析代码上下文,预测并生成新的代码

vscode插件分享: 6个Vue3开发必备插件vscode插件分享: 6个Vue3开发必备插件Dec 09, 2022 pm 08:36 PM

本篇文章给大家整理分享 6 个 Vue3 开发必备的 VSCode 插件,可以直接用过 VSCode 的插件中心直接安装使用,希望对大家有所帮助!

用 VSCode 写 Python,这14个插件不容错过!用 VSCode 写 Python,这14个插件不容错过!May 24, 2023 pm 05:19 PM

可以说,VisualStudioCode这个编辑器,让微软在开源社区赢回了王者段位,要知道全球2400万开发者中有1400万称VSCode为自己的家,再加上GitHub和VSCode的结合,几乎所有的程序员的都离不开VSCode,不过,VSCode如此优秀,值得每个程序员使用,甚至我觉得非程序员都可以用它来码字。如果你还没用过VSCode,那访问这里安装[1]一个吧,很可能就打开了一个新世界。今天分享14个非常实用VSCode插件,可以让你写代码如同神一般,尤其是

2023年最新最全的VScode插件推荐2023年最新最全的VScode插件推荐Jan 24, 2023 am 05:30 AM

这篇文章主要介绍了这么多年来我在使用 VSCode 过程中用到的一些不错的插件。这些VSCode插件,帮你打造地表最强IDE!

【吐血总结】23个VSCode 插件,助你提高开发效率和美观性【吐血总结】23个VSCode 插件,助你提高开发效率和美观性Mar 10, 2022 pm 08:01 PM

本篇文章给大家总结了23个各种功能的VSCode 插件,可以帮助开发者提高开发效率和美观性,希望对大家有所帮助!

如虎添翼,六个让你效率翻倍的ChatGPT插件如虎添翼,六个让你效率翻倍的ChatGPT插件May 17, 2023 pm 02:28 PM

ChatGPT是一个超强的AI应用程序,OpenAI已经发布的GPT-4引起了更广泛的关注。ChatGPT是由OpenAI开发的专门从事对话的AI聊天机器人,其主要目标是使AI系统更自然地进行互动。大家可能都已经尝试过ChatGPT,今天讲一讲与这个全新工具互动的不同方法。本文总结了6个可以使ChatGPT成为日常助手(甚至超越日常助手)的工具!1.【GoogleChromeExtension】在任何地方使用ChatGPT想在任何地方轻松地使用ChatGPT吗?那么你可以使用Chrome插件(h

浏览器增强版ChatGPT无敌了?超强插件Monica,能聊能写效率Max浏览器增强版ChatGPT无敌了?超强插件Monica,能聊能写效率MaxMay 03, 2023 pm 06:58 PM

提起Monica,你会想到什么?是老友记里的主角之一Monica·Geller,一个热心肠的女主人形象;还是心跳文学部里的疯疯癫癫的Monika?或者,最近爆火的Chrome插件——Monica。它的功能实在是太强大了,用完一次保你爱不释手。毕竟,搭载了ChatGPT的网页助手,能是俗物吗?Monica功能大赏首先明确一点,Monica是ChatGPT在网页上的应用,换句话说,Monica就是靠着ChatGPTAPI的强大功能才厉害。而仔细看看Chrome商店中的介绍,我们就会发现Monica真

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool