File tree 1 file changed +126
-0
lines changed
1 file changed +126
-0
lines changed Original file line number Diff line number Diff line change
1
+ snippet yl
2
+ abbr @yield
3
+ @yield('${1} ')
4
+
5
+ snippet sec
6
+ abbr @section
7
+ @section('${1} ')
8
+ ${2}
9
+ @show
10
+
11
+ snippet ext
12
+ abbr @extends
13
+ @extends('${1} ')
14
+
15
+ snippet sec
16
+ abbr @section
17
+ @section('${1} ', '${2} ')
18
+
19
+ snippet section
20
+ abbr @section ... @endsection
21
+ @section('${1: section name } ')
22
+ ${2}
23
+ @endsection
24
+
25
+
26
+ snippet section-parent
27
+ abbr @section @parent ... @endsection
28
+ @section('${1: section name } ')
29
+ @parent
30
+
31
+ ${2}
32
+ @endsection
33
+
34
+ snippet compo
35
+ abbr @component ... @endcomponent
36
+ @component('${1} ')
37
+ ${2}
38
+ @endcomponent
39
+
40
+ snippet slot
41
+ abbr @slot ... @endslot
42
+ @slot('${1} ')
43
+ ${2}
44
+ @endslot
45
+
46
+ snippet if
47
+ abbr if ... endif
48
+ @if(${1: condition } )
49
+ ${2}
50
+ @endif
51
+
52
+ snippet ifelse
53
+ abbr if elseif else endif
54
+ @if (${1: condition } )
55
+ ${2}
56
+ @elseif (${3: condition } )
57
+ ${4}
58
+ @else
59
+ ${5}
60
+ @endif
61
+
62
+ snippet unless
63
+ abbr @unless ... @endunless
64
+ @unless (${1: condition } )
65
+ ${2}
66
+ @endunless
67
+
68
+ snippet isset
69
+ abbr @isset ... @endisset
70
+ @isset(${1} )
71
+ ${2}
72
+ @endisset
73
+
74
+ snippet empty
75
+ abbr @empty ... @endempty
76
+ @empty(${1} )
77
+ ${2}
78
+ @endempty
79
+
80
+ snippet for
81
+ abbr @for ... @endfor
82
+ @for ($i = 0; $i < ${1} ; $i++)
83
+ ${2}
84
+ @endfor
85
+
86
+ snippet foreach
87
+ abbr @foreach ... @endforeach
88
+ @foreach (${1} as ${2} )
89
+ ${3}
90
+ @endforeach
91
+
92
+ snippet forelse
93
+ abbr @forelse ... @empty ... @endforeach
94
+ @forelse (${1} as ${2} )
95
+ ${3}
96
+ @empty
97
+ ${4}
98
+ @endforelse
99
+
100
+ snippet while
101
+ abbr @while ... @endwhile
102
+ @while (${1} )
103
+ ${2}
104
+ @endwhile
105
+
106
+ snippet comment
107
+ abbr {{-- comments --}}
108
+ {{-- ${1} --}}
109
+
110
+ snippet php
111
+ abbr @php ... @endphp
112
+ @php
113
+ ${1}
114
+ @endphp
115
+
116
+ snippet include
117
+ abbr @include
118
+ @include('${1} ')
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
You can’t perform that action at this time.
0 commit comments