-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8cc4d45
commit 2a53f3c
Showing
9 changed files
with
777 additions
and
777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
[ | ||
{ "caption": "-" }, | ||
{ | ||
"caption": "Console Wrap", | ||
"children": | ||
[ | ||
{ "command": "console_action", "args": {"action": "comment"}, "caption": "Comment All logs" }, | ||
{ "command": "console_action", "args": {"action": "remove_commented"}, "caption": "Remove Commented logs" }, | ||
{ "command": "console_action", "args": {"action": "remove"}, "caption": "Remove All logs" }, | ||
{ "command": "console_action", "args": {"action": "show_quick_nav"}, "caption": "Show all logs"} | ||
{ "caption": "-" }, | ||
{ | ||
"caption": "Console Wrap", | ||
"children": | ||
[ | ||
{ "command": "console_action", "args": {"action": "comment"}, "caption": "Comment All logs" }, | ||
{ "command": "console_action", "args": {"action": "remove_commented"}, "caption": "Remove Commented logs" }, | ||
{ "command": "console_action", "args": {"action": "remove"}, "caption": "Remove All logs" }, | ||
{ "command": "console_action", "args": {"action": "show_quick_nav"}, "caption": "Show all logs"} | ||
|
||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,59 @@ | ||
[{ | ||
"caption": "Preferences", | ||
"mnemonic": "n", | ||
"id": "preferences", | ||
"children": | ||
[ | ||
{ | ||
"caption": "Package Settings", | ||
"mnemonic": "P", | ||
"id": "package-settings", | ||
"children": | ||
[ | ||
{ | ||
"caption": "Console Wrap", | ||
"children": | ||
[ | ||
{ | ||
"caption": "Settings", | ||
"command": "console_wrap_edit_settings", | ||
"args": { | ||
"base_file": "${packages}/Console Wrap/.sublime/consolewrap.sublime-settings", | ||
"caption": "Preferences", | ||
"mnemonic": "n", | ||
"id": "preferences", | ||
"children": | ||
[ | ||
{ | ||
"caption": "Package Settings", | ||
"mnemonic": "P", | ||
"id": "package-settings", | ||
"children": | ||
[ | ||
{ | ||
"caption": "Console Wrap", | ||
"children": | ||
[ | ||
{ | ||
"caption": "Settings", | ||
"command": "console_wrap_edit_settings", | ||
"args": { | ||
"base_file": "${packages}/Console Wrap/.sublime/consolewrap.sublime-settings", | ||
"default": "// Settings in here override those in \"${packages}/User/consolewrap.sublime-settings\",\n\n{\n\t$0\n}\n" | ||
} | ||
}, | ||
{ | ||
"caption": "Settings - Default", | ||
"command": "console_wrap_open_file", | ||
"args": {"file": "${packages}/Console Wrap/.sublime/consolewrap.sublime-settings"} | ||
}, | ||
{ | ||
"caption": "Settings - User", | ||
"command": "console_wrap_open_file", | ||
"args": {"file": "${packages}/User/consolewrap.sublime-settings"} | ||
}, | ||
{ "caption": "-" }, | ||
{ | ||
"caption": "Key Bindings", | ||
"command": "console_wrap_edit_settings", | ||
"args": { | ||
"base_file": "${packages}/Console Wrap/.sublime/Default (${platform}).sublime-keymap", | ||
"default": "// Console Wrap Key Bindings - User\n{\n\t$0\n}\n" | ||
} | ||
}, | ||
{ | ||
"caption": "Key Bindings - Default", | ||
"command": "console_wrap_open_file", | ||
"args": {"file": "${packages}/Console Wrap/.sublime/Default (${platform}).sublime-keymap"} | ||
}, | ||
{ | ||
"caption": "Key Bindings - User", | ||
"command": "console_wrap_open_file", | ||
"args": {"file": "${packages}/User/Default (${platform}).sublime-keymap"} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"caption": "Settings - Default", | ||
"command": "console_wrap_open_file", | ||
"args": {"file": "${packages}/Console Wrap/.sublime/consolewrap.sublime-settings"} | ||
}, | ||
{ | ||
"caption": "Settings - User", | ||
"command": "console_wrap_open_file", | ||
"args": {"file": "${packages}/User/consolewrap.sublime-settings"} | ||
}, | ||
{ "caption": "-" }, | ||
{ | ||
"caption": "Key Bindings", | ||
"command": "console_wrap_edit_settings", | ||
"args": { | ||
"base_file": "${packages}/Console Wrap/.sublime/Default (${platform}).sublime-keymap", | ||
"default": "// Console Wrap Key Bindings - User\n{\n\t$0\n}\n" | ||
} | ||
}, | ||
{ | ||
"caption": "Key Bindings - Default", | ||
"command": "console_wrap_open_file", | ||
"args": {"file": "${packages}/Console Wrap/.sublime/Default (${platform}).sublime-keymap"} | ||
}, | ||
{ | ||
"caption": "Key Bindings - User", | ||
"command": "console_wrap_open_file", | ||
"args": {"file": "${packages}/User/Default (${platform}).sublime-keymap"} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"js": { | ||
"consoleStr" : "{title}, {variable}", // "{title}, tmpVal = {variable}" to assigne value to temporary parameter output: console.log('title', tmpVal = variable); | ||
"consoleFunc" : ["console", "log"], // You can change default log statement for example ["logger", "info"] output: logger.info('title', variable); | ||
"single_quotes": false, // If true output: console.log('title', variable); | ||
"semicolon" : true, // If false, will not add semicolon at end of line | ||
"log_types" : ["log", "info", "warn", "error"] | ||
}, | ||
"py": { | ||
"consoleStr" : "{title}, {variable}", | ||
"consoleFunc" : ["print"], | ||
"single_quotes": false | ||
}, | ||
"php": { | ||
"consoleFunc" : ["print_r"], // var_dump or if you have custom logger ["$logger", "debug"] output: $logger->debug($variable); | ||
"preTag" : true, // Put log in pre tag like echo '<pre>'; print_r($variable); echo '</pre>'; | ||
"dieAfterLog" : false // echo '<pre>'; print_r($variable); echo '</pre>'; die(); | ||
}, | ||
"fileTypeMap" : { // Maps file type to wrapper. For example "text.html.vue": "js" means use js wrapper in vue js files | ||
"text.html.vue" : "js", // php,python,js is included by dafault ("embedding.php": "php", "source.js": "js", "source.python": "py") | ||
"source.ts" : "js", | ||
"source.tsx" : "js", | ||
"source.coffee" : "js", | ||
"text.html.basic": "js", | ||
"text.html.blade": "js", | ||
"text.html.twig" : "js" | ||
} | ||
"js": { | ||
"consoleStr" : "{title}, {variable}", // "{title}, tmpVal = {variable}" to assigne value to temporary parameter output: console.log('title', tmpVal = variable); | ||
"consoleFunc" : ["console", "log"], // You can change default log statement for example ["logger", "info"] output: logger.info('title', variable); | ||
"single_quotes": false, // If true output: console.log('title', variable); | ||
"semicolon" : true, // If false, will not add semicolon at end of line | ||
"log_types" : ["log", "info", "warn", "error"] | ||
}, | ||
"py": { | ||
"consoleStr" : "{title}, {variable}", | ||
"consoleFunc" : ["print"], | ||
"single_quotes": false | ||
}, | ||
"php": { | ||
"consoleFunc" : ["print_r"], // var_dump or if you have custom logger ["$logger", "debug"] output: $logger->debug($variable); | ||
"preTag" : true, // Put log in pre tag like echo '<pre>'; print_r($variable); echo '</pre>'; | ||
"dieAfterLog" : false // echo '<pre>'; print_r($variable); echo '</pre>'; die(); | ||
}, | ||
"fileTypeMap" : { // Maps file type to wrapper. For example "text.html.vue": "js" means use js wrapper in vue js files | ||
"text.html.vue" : "js", // php,python,js is included by dafault ("embedding.php": "php", "source.js": "js", "source.python": "py") | ||
"source.ts" : "js", | ||
"source.tsx" : "js", | ||
"source.coffee" : "js", | ||
"text.html.basic": "js", | ||
"text.html.blade": "js", | ||
"text.html.twig" : "js" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.