File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 22 "name" : " es7-react-js-snippets" ,
33 "displayName" : " ES7+ React/Redux/React-Native snippets" ,
44 "description" : " Extensions for React, React-Native and Redux in JS/TS with ES7+ syntax. Customizable. Built-in integration with prettier." ,
5- "version" : " 4.3.1 " ,
5+ "version" : " 4.3.2 " ,
66 "publisher" : " dsznajder" ,
77 "icon" : " images/logo.png" ,
88 "browser" : " ./lib/index.js" ,
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ type ConsoleMapping = {
1616 consoleTimeEnd : 'cte' ;
1717 consoleWarn : 'cwa' ;
1818 consoleInfo : 'cin' ;
19+ consoleTable : 'ctl' ;
1920} ;
2021
2122export type ConsoleSnippet = SnippetMapping < ConsoleMapping > ;
@@ -134,6 +135,13 @@ const consoleInfo: ConsoleSnippet = {
134135 'Displays a message in the console but also displays a blue information icon along with the logged message' ,
135136} ;
136137
138+ const consoleTable : ConsoleSnippet = {
139+ key : 'consoleTable' ,
140+ prefix : 'ctl' ,
141+ body : [ `console.table([${ Placeholders . FirstTab } ])` ] ,
142+ description : 'Logs table to console' ,
143+ } ;
144+
137145export default [
138146 consoleAssert ,
139147 consoleClear ,
@@ -150,4 +158,5 @@ export default [
150158 consoleTimeEnd ,
151159 consoleWarn ,
152160 consoleInfo ,
161+ consoleTable ,
153162] ;
You can’t perform that action at this time.
0 commit comments