VScode is a piece of shit? These 14 VSCode plugins, you are sure you have never used them

It can be said that Visual Studio Code, the editor, has allowed Microsoft to win back the king rank 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 Most programmers are inseparable from VSCode, but VSCode is so good that it is worth using by every programmer, and even I think non-programmers can use it to code words.

If you have not used VSCode, then visit here to install [1] one, it is likely to open a new world.

Today I share 14 very useful VSCode plugins that allow you to write code like a god, especially Python code.

In view of the light weight of VSCode, old users do not have to worry about installing "too many" extensions, which will lead to performance problems. Like to remember to collect, like, follow

recommended article

1. Refactor your Python code on the fly: Sourcery

Show results:
picture

As you write Python code, it helps you improve it 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. Makes your Python code cleaner and more readable.

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

The main function:

  • 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 line for jumping, which is equivalent to the bookmark function: Bookmarks

Show results:

picture

  • new sticky engine

  • Add virtual workspace support

  • Add workspace trust support

  • Comprehensive remote development support

  • Add cross-platform support

  • Improved usability of the sidebar

Click here to install Bookmarks[3]

3. Rest API client: Thunder Client

Show results:

picture

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 was handcrafted 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 documents: Docs View

Show results:

picture

picture

Place the cursor over a function or class to display related documentation in the sidebar or panel

Click here to install Docs View[5]

5. Code Search: Sourcegraph

Show results:

picture

Sourcegraph's code search allows you to quickly find and fix things across all your code.

With it, you can search millions of open source repositories for free directly from the VS Code IDE. Learn from helpful 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" 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

Show results:

picture

Just select the function code and press a shortcut key to automatically generate comments for the method, which can be used to generate function documentation.

Click here to install AI Doc Writer[7]

7. View the file size: filesize

Show results:

picture

It shows the size of the focused file in the editor's status bar, and if you click on the status bar component, it will show 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 let Krinql answer it, or let it write the docstring:

Show results:

picture

Krinql lets you write better code, super fast. It takes care of the boring parts of writing code, like writing docstrings. It can also find how to use the library and automate it in the VS Code editor itself.

Click here to install Krinql[9]

9. GistPad

GistPad lets you edit GitHub Gists and repositories directly in VSCode. Repositories and repositories can be opened, created, deleted, forked and starred, and then seamlessly start editing files like local files without cloning, pushing or pulling 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.

Show results:

picture

Click here to install GistPad[10]

10. Generate beautiful code screenshots: CodeSnap

Show results:

picture

Click here to install CodeSnap[11]

11. Autocompletion: Visual Studio IntelliCode

Show results:

picture

Click here to install Visual Studio IntelliCode[12]

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

Show results:

picture

Click here to install AREPL for Python[13]

13. Inspect Python code in real-time: Wolf

That is to say, you can experience the WYSIWYG experience in the Python interpreter in VSCode, which is similar in function to AREPL for Python.

Show results:

picture

Click here to install Wolf[14]

14. Add Gather functionality to Jupyter extension

You must have used the Jupyter extension. This plugin should be used with Jupyter:

picture

Show results:

picture

picture

Click here to install Gather[15]

last words

The extension is well chosen, and the code is godlike. These 14 god-level extensions, please be sure to try them out. If you find it useful, please like, forward, and support.

Also welcome to leave a comment to discuss your favorite plugins.

References

[1] Install here: https://code.visualstudio.com

[2] Sourcery: https://marketplace.visualstudio.com/items?itemName=sourcery.sourcery

[3] Bookmarks: https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks

[4] Thunder Client: https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client

[5] Docs View: https://marketplace.visualstudio.com/items?itemName=bierner.docs-view

[6] Sourcegraph: https://marketplace.visualstudio.com/items?itemName=sourcegraph.sourcegraph

[7] AI Doc Writer: https://marketplace.visualstudio.com/items?itemname=mintlify.document

[8] filesize: https://marketplace.visualstudio.com/items?itemName=mkxml.vscode-filesize

[9] Krinql: https://marketplace.visualstudio.com/items?itemName=krinql.krinql-vscode

[10] GistPad: https://marketplace.visualstudio.com/items?itemName=vsls-contrib.gistfs

[11] CodeSnap: https://marketplace.visualstudio.com/items?itemName=adpyke.codesnap

[12] Visual Studio IntelliCode: https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode

[13] AREPL for Python: https://marketplace.visualstudio.com/items?itemName=almenon.arepl

[14] Wolf: https://marketplace.visualstudio.com/items?itemName=traBpUkciP.wolf

[15] Gather: https://marketplace.visualstudio.com/items?itemName=ms-python.gather

— EOF —

Technology Exchange

Welcome to reprint, collect, like and support!

insert image description here

At present, a technical exchange group has been opened, and the group has more than 2,000 members . The best way to remark when adding is: source + interest direction, which is convenient to find like-minded friends

  • Method 1. Send the following picture to WeChat, long press to identify, and reply in the background: add group;
  • Method ②, add micro-signal: dkl88191 , note: from CSDN
  • Method ③, WeChat search public account: Python learning and data mining , background reply: add group

long press follow

Guess you like

Origin blog.csdn.net/weixin_38037405/article/details/123956603