Jump to content

Snippets - allow batch editing/importing


Recommended Posts

Adding multiple snippets can get really tedious, would be awesome if I can prepare them in some text editor and that just import them...

 

Is there any way to do this?

name, keyword, content
"any" ,"Pan", "PropTypes.any"
"array" ,"Parr", "PropTypes.array"
"arrayOf" ,"Paro", "PropTypes.arrayOf()"
"bool" ,"Pbo", "PropTypes.bool"
"element" ,"Pel", "PropTypes.element"
"func" ,"Pfn", "PropTypes.func"
"instanceOf" ,"Pio", "PropTypes.instanceOf()"
"node" ,"Pno", "PropTypes.node"
"number" ,"Pnu", "PropTypes.number"
"object" ,"Pobj", "PropTypes.object"
"objectOf" ,"Pobo", "PropTypes.objectOf()"
"oneOf" ,"Poo", "PropTypes.oneOf([])"
"oneOfType" ,"Pot", "PropTypes.oneOfType"
"shape" ,"Psh", "PropTypes.shape({})"
"string" ,"Pst", "PropTypes.string"

Link to comment
Share on other sites

 

Adding multiple snippets can get really tedious, would be awesome if I can prepare them in some text editor and that just import them...

 

 

 

 

Hi there,

 

Could you please fill in your Powerpack email address in your forum profile to allow us to confirm your Powerpack user status first?

 

Thanks :)

Vero

Link to comment
Share on other sites

  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...