Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>30 seconds of codeNew to Visual Studio Code? Get it now.
30 seconds of code

30 seconds of code

30 seconds

|
16,133 installs
| (6) | Free
JavaScript snippets you can understand in 30 seconds or less.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Logo

30 seconds of code

JavaScript snippets you can understand in 30 seconds or less.

Setup & Usage

  • Install this package from the Extension Marketplace.
  • Make sure to add "editor.snippetSuggestions": "top" to your user settings to see these snippets on top in the suggestion popover.
  • For the full list of snippets, please visit the 30 seconds of code repository or website.
  • All snippets are prefixed with 30s_ (e.g. if you want to use the all snippet, you will write 30s_all).

Notes

  • Some snippets might not yet be fully optimized for production. Remember to always test your code thoroughly to identify issues.
  • Snippets are written in ES6 and use the fat arrow syntax. It is highly recommended to use the Babel transpiler to ensure backwards-compatibility.

Release Notes

1.0.0

Initial release of the Visual Studio Code Extension.

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