Skip to content

Commit

Permalink
Added some completion placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
Iuri Aranda committed Jun 18, 2012
1 parent ae6d1c3 commit 65ef64e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions Nodejs.sublime-completions
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
},
{
"trigger": "setTimeout();",
"contents": "setTimeout();"
"contents": "setTimeout(${1});"
},
{
"trigger": "setInterval();",
"contents": "setInterval();"
"contents": "setInterval(${1});"
},
{
"trigger": "clearTimeout();",
Expand All @@ -63,27 +63,27 @@
},
{
"trigger": "process.EventEmitter();",
"contents": "process.EventEmitter();"
"contents": "process.EventEmitter(${1});"
},
{
"trigger": "process.assert();",
"contents": "process.assert();"
"contents": "process.assert(${1});"
},
{
"trigger": "process._tickCallback();",
"contents": "process._tickCallback();"
},
{
"trigger": "process.nextTick(callback);",
"contents": "process.nextTick(callback);"
"contents": "process.nextTick(${1:callback});"
},
{
"trigger": "process.openStdin();",
"contents": "process.openStdin();"
},
{
"trigger": "process.exit(code);",
"contents": "process.exit(code);"
"contents": "process.exit(${1:code});"
},
{
"trigger": "process.kill(pid, sig);",
Expand Down Expand Up @@ -374,24 +374,24 @@
"contents": "cluster.listeners(type);"
},
{
"trigger": "console.log();",
"contents": "console.log();"
"trigger": "console.log(message);",
"contents": "console.log(\"${1:message}\");"
},
{
"trigger": "console.info();",
"contents": "console.info();"
"trigger": "console.info(message);",
"contents": "console.info(\"${1:message}\");"
},
{
"trigger": "console.warn();",
"contents": "console.warn();"
"trigger": "console.warn(message);",
"contents": "console.warn(\"${1:message}\");"
},
{
"trigger": "console.error();",
"contents": "console.error();"
"trigger": "console.error(message);",
"contents": "console.error(\"${1:message}\");"
},
{
"trigger": "console.dir(object);",
"contents": "console.dir(object);"
"contents": "console.dir(\"${1:object}\");"
},
{
"trigger": "console.time(label);",
Expand Down

0 comments on commit 65ef64e

Please sign in to comment.