Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/croutonn/vscode-snippets

VSCode snippets extension that can also be used as a template for snippets extension development.
https://github.com/croutonn/vscode-snippets

vscode vscode-extension-template vscode-snippets

Last synced: 1 day ago
JSON representation

VSCode snippets extension that can also be used as a template for snippets extension development.

Awesome Lists containing this project

README

        

# vscode-snippets

VSCode snippets for front-end engeneers.

---

## next
| Name | Description | Prefix | Scope |
| :--- | :--- | :--- | :--- |
| [getServerSideProps](https://github.com/croutonn/vscode-snippets/blob/main/src/next/getServerSideProps.md) | Next.js GetServerSideProps | nget, gssp | typescriptreact |
| [getStaticPaths](https://github.com/croutonn/vscode-snippets/blob/main/src/next/getStaticPaths.md) | Next.js GetStaticPaths | nget, gsp | typescriptreact |
| [getStaticProps](https://github.com/croutonn/vscode-snippets/blob/main/src/next/getStaticProps.md) | Next.js GetStaticProps | nget, gsp | typescriptreact |
| [NextPageWithLayout](https://github.com/croutonn/vscode-snippets/blob/main/src/next/NextPageWithLayout.md) | Next.js Page With Layout Declaration | npagel, nextpagewithlayout, npwl | typescriptreact |
| [NextPageWithLayout SSG](https://github.com/croutonn/vscode-snippets/blob/main/src/next/NextPageWithLayout_SSG.md) | Next.js Page with layout for SSG | npagel, nextpagel, npssgl | typescriptreact |
| [NextPageWithLayout SSR](https://github.com/croutonn/vscode-snippets/blob/main/src/next/NextPageWithLayout_SSR.md) | Next.js Page with layout for SSR | npage, nextpage, npssr | typescriptreact |
| [NextPage SSG](https://github.com/croutonn/vscode-snippets/blob/main/src/next/NextPage_SSG.md) | Next.js Page for SSG | npage, nextpage, npssg | typescriptreact |
| [NextPage SSR](https://github.com/croutonn/vscode-snippets/blob/main/src/next/NextPage_SSR.md) | Next.js Page for SSR | npage, nextpage, npssr | typescriptreact |
| [PreviewReset API](https://github.com/croutonn/vscode-snippets/blob/main/src/next/PreviewReset_API.md) | Next.js Preview Reset API | nprev | typescript |
| [Preview API](https://github.com/croutonn/vscode-snippets/blob/main/src/next/Preview_API.md) | Next.js Preview API | nprev | typescript |
| [RuntimeConfiguration](https://github.com/croutonn/vscode-snippets/blob/main/src/next/RuntimeConfiguration.md) | Next.js Runtime Configuration | nrun | typescript,typescriptreact |
| [RuntimeConfigurationDeclaration](https://github.com/croutonn/vscode-snippets/blob/main/src/next/RuntimeConfigurationDeclaration.md) | Declaration for Next.js Runtime Configuration | nrund | typescript |

## react
| Name | Description | Prefix | Scope |
| :--- | :--- | :--- | :--- |
| [ForwardRefComponentType](https://github.com/croutonn/vscode-snippets/blob/main/src/react/ForwardRefComponentType.md) | ForwardRefComponent | frec | typescript,typescriptreact |
| [ForwardRefRenderFunction Component](https://github.com/croutonn/vscode-snippets/blob/main/src/react/ForwardRefRenderFunction_Component.md) | ForwardRefRenderFunction Component | frec | typescriptreact |
| [ForwardRefRenderFunction ComponentSimple](https://github.com/croutonn/vscode-snippets/blob/main/src/react/ForwardRefRenderFunction_ComponentSimple.md) | ForwardRefRenderFunction Component | frec | typescriptreact |
| [Function Component](https://github.com/croutonn/vscode-snippets/blob/main/src/react/Function_Component.md) | React Function Component | fc | typescriptreact |
| [Void Function Component](https://github.com/croutonn/vscode-snippets/blob/main/src/react/Void_Function_Component.md) | React Void Function Component | vfc | typescriptreact |

## react-hooks
| Name | Description | Prefix | Scope |
| :--- | :--- | :--- | :--- |
| [useCallback](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useCallback.md) | useCallback | useCallback | javascript,javascriptreact,typescript,typescriptreact |
| [useContext](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useContext.md) | useContext | useContext | javascript,javascriptreact,typescript,typescriptreact |
| [useDebugValue](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useDebugValue.md) | useDebugValue | useDebugValue | javascript,javascriptreact,typescript,typescriptreact |
| [useEffect](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useEffect.md) | useEffect | useEffect | javascript,javascriptreact,typescript,typescriptreact |
| [useImperativeHandle](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useImperativeHandle.md) | useImperativeHandle | useImperativeHandle | javascript,javascriptreact,typescript,typescriptreact |
| [useLayoutEffect](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useLayoutEffect.md) | useLayoutEffect | useLayoutEffect | javascript,javascriptreact,typescript,typescriptreact |
| [useMemo](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useMemo.md) | useMemo | useMemo | javascript,javascriptreact,typescript,typescriptreact |
| [useReducer](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useReducer.md) | useReducer | useReducer | javascript,javascriptreact,typescript,typescriptreact |
| [useRef](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useRef.md) | useRef | useRef | javascript,javascriptreact,typescript,typescriptreact |
| [useState](https://github.com/croutonn/vscode-snippets/blob/main/src/react-hooks/useState.md) | useState | useState | javascript,javascriptreact,typescript,typescriptreact |

## utils
| Name | Description | Prefix | Scope |
| :--- | :--- | :--- | :--- |
| [Promise](https://github.com/croutonn/vscode-snippets/blob/main/src/utils/Promise.md) | Promise Snippet | prom | javascript,javascriptreact,typescript,typescriptreact |