Home > Development Tools > VSCode > Develop Python with VSCode, these 14 plug-ins are not to be missed!

Develop Python with VSCode, these 14 plug-ins are not to be missed!

青灯夜游
Release: 2022-10-25 23:13:02
forward
4995 people have browsed it

VSCodeHow to develop Python? The following article will share with you 14 unmissable plug-ins for developing Python in VSCode. Come and collect them to see if you need them!

Develop Python with VSCode, these 14 plug-ins are not to be missed!

It can be said that the editor Visual Studio Code 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. 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. Character. [Recommended study: "vscode Getting Started Tutorial"]

If you haven't used VSCode yet, install one, and 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:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

When you write When you write Python code, it will help you improve the 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

2. Mark a certain line for jump, Equivalent to bookmark function: Bookmarks

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

    ##New sticky engine
  • Add virtual workspace Support
  • Added workspace trust support
  • Comprehensive remote development support
  • Added cross-platform support
  • Improved sidebar usability

3. Rest API Client: Thunder Client

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

Although it is called Thunder, it is not the same as Thunder Relationship, 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.

4. Hover to view the document: Docs View

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

Develop Python with VSCode, these 14 plug-ins are not to be missed!

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

5. Code search: Sourcegraph

Effect display :

Develop Python with VSCode, these 14 plug-ins are not to be missed!

Sourcegraph's code search allows you to quickly find and fix things 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.

6. AI helps you write comments: AI Doc Writer

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

Just select the function Code, and then pressing a shortcut key will automatically generate comments for the method, which can be used to generate function documentation.

7. View file size: filesize

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

It displays focus in the status bar of the editor The size of the file and if you click on the status bar component it will show more information about the file.

8. Explain the code: Krinql

If you can’t understand the code, you can ask Krinql to answer, or let it write the documentation string:

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

Krinql allows you to 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.

9. GistPad

GistPad lets you 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:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

10. Generate beautiful code screenshots: CodeSnap

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

11. Auto-complete: Visual Studio IntelliCode

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

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

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

##13. Real-time comparison Python code inspection: 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:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

14. Add the Gather function to the Jupyter extension

Jupyter extension you must Have you tried it? This plug-in should be used with Jupyter:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

Effect display:

Develop Python with VSCode, these 14 plug-ins are not to be missed!

Develop Python with VSCode, these 14 plug-ins are not to be missed!

For more knowledge about VSCode, please visit:

vscode tutorial!

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

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template