Skip to content

This extension contains code snippets for react-admin.

License

Notifications You must be signed in to change notification settings

infeng/vscode-admin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode-admin


This extension contains code snippets for epig admin app.

Installation

In order to install an extension you need to launch the Command Pallete (Ctrl + Shift + P or Cmd + Shift + P) and type Extensions. There you have either the option to show the already installed snippets or install new ones.

Launch VS Code Quick Open (Ctrl + P or Cmd + P), paste the following command, and press enter.

ext install vscode-admin

Alternatively you can open the extensions panel and search for 'Typescript React code snippets'.

Supported languages (file extensions)

  • TypeScript (.ts)
  • TypeScript React (.tsx)

Snippets

Below is a list of all available snippets and the triggers of each one. The means the TAB key.

Typescript & TypescriptReact

Trigger Content
rqr Require
adminformtsrcc Create a form Component
admintabletsrcc Create a table Component
admintableactioncolumn Create table action column
admintabletoolbar Create table toolbars
admintablecolumnitem Create table column item
adminhanaction Create a handle simple action in reducer
adminhanapiaction Create a handle api action in reducer
admincreapi Create a api config
adminformitem Create a formItem
admindispatch Create a dispatch
adminprops Get props
adminmodel Create a model
adminlistmodel Create a list model
adminc Simple Container[Hooks]
admintablec Table Container[Hooks]
adminformc Form Container[Hooks]

Less

Trigger Content
adminless Create a less template

License

MIT

About

This extension contains code snippets for react-admin.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published