Alphabetize JavaScript console snippets
Ordering these snippets alphabetically based on their descriptions makes it easier to find what you are looking for and to notice any snippets that may be missing from the list.
This commit is contained in:
parent
acc6146f56
commit
b9cdc97ef9
@ -79,28 +79,24 @@ endsnippet
|
||||
|
||||
# Snippets for Console Debug Output
|
||||
|
||||
snippet cl "console.log"
|
||||
console.log(${1:"${2:value}"});
|
||||
endsnippet
|
||||
|
||||
snippet cw "console.warn"
|
||||
console.warn(${1:"${2:value}"});
|
||||
snippet ca "console.assert"
|
||||
console.assert(${1:assertion}, ${2:"${3:message}"});
|
||||
endsnippet
|
||||
|
||||
snippet ce "console.error"
|
||||
console.error(${1:"${2:value}"});
|
||||
endsnippet
|
||||
|
||||
snippet ca "console.assert"
|
||||
console.assert(${1:assertion}, ${2:"${3:message}"});
|
||||
endsnippet
|
||||
|
||||
snippet cgroup "console.group"
|
||||
console.group("${1:label}");
|
||||
${VISUAL}$0
|
||||
console.groupEnd();
|
||||
endsnippet
|
||||
|
||||
snippet cl "console.log"
|
||||
console.log(${1:"${2:value}"});
|
||||
endsnippet
|
||||
|
||||
snippet ctime "console.time"
|
||||
console.time("${1:label}");
|
||||
${VISUAL}$0
|
||||
@ -115,6 +111,10 @@ snippet ctrace "console.trace"
|
||||
console.trace();
|
||||
endsnippet
|
||||
|
||||
snippet cw "console.warn"
|
||||
console.warn(${1:"${2:value}"});
|
||||
endsnippet
|
||||
|
||||
# AMD (Asynchronous Module Definition) snippets
|
||||
|
||||
snippet def "define an AMD module"
|
||||
|
Loading…
Reference in New Issue
Block a user