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

Electron Snippets

antoniormrzz

|
36,043 installs
| (1) | Free
A collection of handy ElectronJS snippets.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

electron-snippets

Patreon donate button
A collection of handy snippets for ElectronJS. If this does help you, please check out my Patreon plans to donate. 🤝

Snippets

There are 16 snippets:

elec-new-app : New Electron App

elec-window : New window

elec-main-listen : Listen to message with ipcmain and reply

elec-main-send : Send message from main to window

elec-renderer-listen : Listen to messages from renderer

elec-renderer-send : Send message from renderer to main

elec-devtools : Open devtools

elec-main-notif : Main process notification

elec-global-shortcut : Global keyboard shortcut

elec-progress : Taskbar Progress

elec-dialog : Open dialog

elec-copy : Copy to clipboard

elec-paste : Paste from clipboard

elec-tray : Create tray menu

elec-menu : Create menu from template (huge)

elec-renderer-context : Create renderer right-click context menu

Supported Languages

You can use these snippets for both javascript and typescript.

1.0.0

16 snippets

Enjoy!

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