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

Youzan JavaScript Snippets

Li Chen

|
1,363 installs
| (0) | Free
Snippets for Javascript at Youzan
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

zan-snippets README

FE code snippets at Youzan.

Features

  • shuai state/effects/hooks
  • zent, lodash quick import
  • ajax

Using

Type part of a snippet, press Enter, and the snippet unfolds.

Supported snippets:

Trigger Template
createstate [shuai]createState skeleton
createstateaction [shuai]createState action skeleton
createeffect [shuai]createEffect skeleton
createhook [shuai]createHook skeleton
ajax [ajax]ajax request skeleton
importzent [zent]Zent component import skeleton
importlodash [lodash] lodash function import skeleton

Installation

  1. Install Visual Studio Code
  2. Launch Code
  3. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Select Install Extension
  5. Type zan-snippets
  6. Choose the extension
  7. Reload Visual Studio Code

License

MIT License, refer to license file.

Source

Github

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