Skip to content

Commit 05b9196

Browse files
dsandstromkeathley
authored andcommitted
Add language-todo snippets (#92)
Makes it easier to add todo comments I'd submit this change to language-todo, but they are not accepting PRs to add support for more languages (atom/language-todo#43).
1 parent a0824b9 commit 05b9196

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

snippets/language-elixir.cson

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,33 @@
116116
'fn':
117117
'prefix': 'fn'
118118
'body': 'fn($1) -> ${2:...} end'
119+
'todo':
120+
'prefix': 'todo'
121+
'body': '# TODO: $0'
122+
'fixme':
123+
'prefix': 'fix'
124+
'body': '# FIXME: $0'
125+
'xxx':
126+
'prefix': 'xxx'
127+
'body': '# XXX: $0'
128+
'idea':
129+
'prefix': 'idea'
130+
'body': '# IDEA: $0'
131+
'hack':
132+
'prefix': 'hack'
133+
'body': '# HACK: $0'
134+
'note':
135+
'prefix': 'note'
136+
'body': '# NOTE: $0'
137+
'review':
138+
'prefix': 'review'
139+
'body': '# REVIEW: $0'
140+
'bug':
141+
'prefix': 'bug'
142+
'body': '# BUG: $0'
143+
'question':
144+
'prefix': 'question'
145+
'body': '# QUESTION: $0'
119146
'.text.elixir':
120147
'<% inline %>':
121148
'prefix': '%'
@@ -138,3 +165,30 @@
138165
'for':
139166
'prefix': 'for'
140167
'body': '<%= for ${1:el} <- ${2:list} do %>\n\t$0\n<% end %>'
168+
'todo':
169+
'prefix': 'todo'
170+
'body': '<%# TODO: $0 %>'
171+
'fixme':
172+
'prefix': 'fix'
173+
'body': '<%# FIXME: $0 %>'
174+
'xxx':
175+
'prefix': 'xxx'
176+
'body': '<%# XXX: $0 %>'
177+
'idea':
178+
'prefix': 'idea'
179+
'body': '<%# IDEA: $0 %>'
180+
'hack':
181+
'prefix': 'hack'
182+
'body': '<%# HACK: $0 %>'
183+
'note':
184+
'prefix': 'note'
185+
'body': '<%# NOTE: $0 %>'
186+
'review':
187+
'prefix': 'review'
188+
'body': '<%# REVIEW: $0 %>'
189+
'bug':
190+
'prefix': 'bug'
191+
'body': '<%# BUG: $0 %>'
192+
'question':
193+
'prefix': 'question'
194+
'body': '<%# QUESTION: $0 %>'

0 commit comments

Comments
 (0)