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

Easy Snippets

ElChiang

|
760 installs
| (0) | Free
Code snippets manager. It helps your manage all your code-snippets easily anywhere.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Easy Snippets

使用

创建格式

YAML 格式填写一些必要属性

---
title: React Hooks Component
description: Generate react hooks component
prefix: rhc
---
import React, { useState, useEffect } from 'react';

function ${componentName} () {
  useEffect(() => {});
  return (
    <>
    </>
  )
}

export default ${componentName}

管理 snippets

img

Command

  • Esnp: Set workspace folder
  • Esnp: Sync
  • Esnp: Sync All
  • Esnp: Create easy-snippets file
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft