Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Extension for React/Javascript snippets with search supporting ES7+ and babel features

License

NotificationsYou must be signed in to change notification settings

0xScratch/vscode-react-javascript-snippets

 
 

Repository files navigation

VersionInstallDownloadsRatings

VS Code ES7+ React/Redux/React-Native/JS snippets

JavaScript and React/Redux snippets in ES7+ with Babel plugin features forVS Code

Installation

Visual Studio Marketplace

LaunchQuick Open:

Paste the following command and pressEnter:

ext install dsznajder.es7-react-js-snippets

Options

From version 4 extension provides options to customize the behavior of the snippets:

OptionDescription
languageScopeslist of supported languages / files recognition
prettierEnableddetermines if snippets should be parsed with project prettier config
importReactOnTopIf disabled, snippets won't containimport React on top. React 17+ support
typescriptadds additional typescript snippets

Sponsors


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


Conquer of Completion

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


Packer

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 )


Search command

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript89.5%
  • JavaScript10.5%

[8]ページ先頭

©2009-2025 Movatter.jp