https://github.com/wisehackermonkey/webstorm-live-templates
Collection of javascript webstorm live templates for uses in node.js and beyond
https://github.com/wisehackermonkey/webstorm-live-templates
Last synced: 5 months ago
JSON representation
Collection of javascript webstorm live templates for uses in node.js and beyond
- Host: GitHub
- URL: https://github.com/wisehackermonkey/webstorm-live-templates
- Owner: wisehackermonkey
- License: mit
- Created: 2017-08-18T12:02:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T14:03:54.000Z (almost 9 years ago)
- Last Synced: 2025-01-07T15:43:56.349Z (over 1 year ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webstorm-live-templates
Collection of javascript webstorm live templates for uses in node.js and beyond
## install (windows version tested)
- open webstorm
- Go to Settings
- file > Settings or Ctlr + Alt + s
- Settings → Editor → Postfix Templates.

```
---------------
function $name$($param$){
var $result$ = $END$;
return $result$;
}
---------------
for( var $X$ = 0; $X$ < $2dArray$.length; $X$++ ){
for( var $Y$ = 0; $Y$ < $2dArray$[$X$].length; $Y$++ ){
var $value$ = $2dArray$[$X$][$Y$];
$END$
}
}
---------------
console.log($data$$END$);
/*
Function - $name$()
Describe - $desc$
Created - $date$ at $time$
*/
$END$
---------------
function $name$($paramater$){
$END$
return $result$;
}
---------------
"$String$"
```