Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Button SnippetsNew to Visual Studio Code? Get it now.
Button Snippets

Button Snippets

litchi

|
59 installs
| (1) | Free
Add custom code snippets through custom UI buttons.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Button Snippets

Version Downloads Installs Rating

It is highly recommended to configure this plugin on the right side of the main view (just drag the icon to the right side of the page) to avoid repeated switching of the sidebar.

If you have any suggestions, please send an email to litchi.code@foxmail.com.

Features

  1. The button provided in the sidebar, when clicked, adds a specified code snippet at the current position in the editor.
  2. Users can conveniently customize the sidebar, including: editing code snippets and adding or deleting buttons.

Customize the sidebar

  1. Use the command palette of VS Code (Open it with F1), enter BS: modify button snippets sidebar, and open the notebook file used for writing the sidebar. This may require you to install the Jupyter plugin in VS Code to view it better.

modify

  1. Refer to the following figure to write your own required code snippets and button names. After modification, save and close the file.

notebook

  1. Use the command palette of VS Code (Open it with F1), enter BS: refresh button snippets sidebar, and restart VS Code to see the modified sidebar.

refresh

Requirements

Ensure that the version of VS Code is higher than 1.72.0.

Release Notes

See CHANGELOG.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft