You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of using \n on body to break lines like this:
"classConstructorContext": {"prefix": "conc","body": "constructor(props, context) {\n\tsuper(props, context);\n\t$0\n}\n","description": "Adds a default constructor for the class that contains props and context as arguments"},
use an array for better readability:
"classConstructorContext": {"prefix": "conc","body": ["constructor(props, context) {","\tsuper(props, context);","\t$0","}"],"description": "Adds a default constructor for the class that contains props and context as arguments"},
That way others can contribute easily or use your snippets as a starting point for their owns.
The text was updated successfully, but these errors were encountered:
Instead of using
\n
on body to break lines like this:use an array for better readability:
That way others can contribute easily or use your snippets as a starting point for their owns.
The text was updated successfully, but these errors were encountered: