Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>liu-snippetsNew to Visual Studio Code? Get it now.
liu-snippets

liu-snippets

shipeng liu

|
9 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

liu-snippets 说明文档

这是你的扩展 "liu-snippets" 的说明文档。在写下简短描述后,我们建议包括以下几个部分。

特性

支持配置代码片段时,在文件顶部 导入 import 语句.

使用示例

{
    label: "useRef",
    import: "import { useRef } from 'react';\n",
    prefix: "use",
    body: `$1const ref$2 = useRef();`,
    description: "创建 React 的 useRef.",
    scope: ["typescriptreact", "javascriptreact"],
    kind: vscode.CompletionItemKind.Function,
},
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft