- Notifications
You must be signed in to change notification settings - Fork444
Extension for React/Javascript snippets with search supporting ES7+ and babel features
License
r5n-labs/vscode-react-javascript-snippets
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
JavaScript and React/Redux snippets in ES7+ with Babel plugin features forVS Code
LaunchQuick Open:
Paste the following command and pressEnter
:
ext install dsznajder.es7-react-js-snippets
From version 4 extension provides options to customize the behavior of the snippets:
Option | Description |
---|---|
languageScopes | list of supported languages / files recognition |
prettierEnabled | determines if snippets should be parsed with project prettier config |
importReactOnTop | If disabled, snippets won't containimport React on top. React 17+ support |
typescript | adds additional typescript snippets |
Manage pull requests and conduct code reviews in your IDE with full source-tree context. Comment on any line, not just the diffs. Use jump-to-definition, your favorite keybindings, and code intelligence with more of your workflow.
Learn More
It is possible to use this package in your vim/neovim text editor, to make this possible, make sure you have thecoc.nvim
previously configured, then add this command to yourinit.vim
Plug'dsznajder/vscode-es7-javascript-react-snippets', {'do':'yarn install --frozen-lockfile && yarn compile' }
Update your vim / neovim settings with:source %
and then install the new package with:PlugInstall
Note: This example usesvim-plug
as a package manager, feel free to use some other
For use with packer the syntax is a little different. Just add in yourinit.vim
orinit.lua
:
use {'dsznajder/vscode-es7-javascript-react-snippets',run ='yarn install --frozen-lockfile && yarn compile'}
When saving the file, the update will be done (:w
)
You can search through snippets withES7 snippet search
command which can be run withCMD + Shift + P
or just useCMD + Shift + R
(CTRL + ALT + R
for Windows & Linux) keybinding.
Here is direct link to marketplaceES7 React/Redux/React-Native/JS Snippets
About
Extension for React/Javascript snippets with search supporting ES7+ and babel features
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.