@@ -568,22 +568,22 @@ export const SNIPPETS: BashCompletionItem[] = [
568
568
insertText : '"\\${${1:variable}%${2:pattern}}"' ,
569
569
} ,
570
570
{
571
- documentation : 'string-match ' ,
572
- label : 'string filtering ' ,
571
+ documentation : 'string filtering ' ,
572
+ label : 'string-match ' ,
573
573
insertText : "sed ${1|-E -n,--regexp-extended --quiet|} '/${2:pattern}/p'" ,
574
574
} ,
575
575
{
576
- documentation : 'string-replace ' ,
577
- label : 'string replacement ' ,
576
+ documentation : 'string replacement ' ,
577
+ label : 'string-replace ' ,
578
578
insertText : "sed ${1|-E,--regexp-extended|} 's/${2:pattern}/${3:replacement}/'" ,
579
579
} ,
580
580
{
581
- documentation : 'string-replace-all ' ,
582
- label : 'string replacement ' ,
581
+ documentation : 'string replacement ' ,
582
+ label : 'string-replace-all ' ,
583
583
insertText : "sed ${1|-E,--regexp-extended|} 's/${2:pattern}/${3:replacement}/g'" ,
584
584
} ,
585
585
{
586
- documentation : 'string- transliterate' ,
586
+ documentation : 'string transliterate' ,
587
587
label : 'string-transliterate' ,
588
588
insertText :
589
589
"sed ${1|-E,--regexp-extended|} 'y/${2:source-characters}/${3:replacement-characters}/g'" ,
@@ -600,38 +600,38 @@ export const SNIPPETS: BashCompletionItem[] = [
600
600
"sed ${1|-E,--regexp-extended|} ':${2:x} N $! b$2 ${3:command}' ${4:file}" ,
601
601
} ,
602
602
{
603
- documentation : 'skip- first' ,
603
+ documentation : 'skip first' ,
604
604
label : 'skip-first' ,
605
605
insertText : 'tail ${1|-n,-c,--lines,--bytes|} +${2:count}' ,
606
606
} ,
607
607
{
608
- documentation : 'skip- last' ,
608
+ documentation : 'skip last' ,
609
609
label : 'skip-last' ,
610
610
insertText : 'head ${1|-n,-c,--lines,--bytes|} -${2:count}' ,
611
611
} ,
612
612
{
613
- documentation : 'take- first' ,
613
+ documentation : 'take first' ,
614
614
label : 'take-first' ,
615
615
insertText : 'head ${1|-n,-c,--lines,--bytes|} ${2:count}' ,
616
616
} ,
617
617
{
618
- documentation : 'take- last' ,
618
+ documentation : 'take last' ,
619
619
label : 'take-last' ,
620
620
insertText : 'tail ${1|-n,-c,--lines,--bytes|} ${2:count}' ,
621
621
} ,
622
622
{
623
- documentation : 'take- range' ,
623
+ documentation : 'take range' ,
624
624
label : 'take-range' ,
625
625
insertText : "sed ${1|-n,--quiet|} '${2:from},${3:to}p'" ,
626
626
} ,
627
627
{
628
- documentation : 'take- stepped- range' ,
628
+ documentation : 'take stepped range' ,
629
629
label : 'take-stepped-range' ,
630
630
insertText : "sed ${1|-n,--quiet|} '${2:from},${3:to}p' | sed $1 '1~${4:step}p'" ,
631
631
} ,
632
632
{
633
633
documentation : 'json print' ,
634
- label : 'json' ,
634
+ label : 'json-print ' ,
635
635
insertText : "jq '.${1:node}' ${2:file}" ,
636
636
} ,
637
637
{
0 commit comments