#razor.sublime-package
razor-tmpl syntax definition & snippet for Sublime Text 3 or 2(not tested)
#download
razor-tmpl
for Package Control
#usage
just use .razor
as your template file ext,exmaple index.razor
or you can use set syntax razor
#snippets
for
->@for(...)
each
->@each(item in items
layout
->@{ var layout = "layout_path"; }
dest
->@{ var dest = "dest_path";}
include
->@include("to_be_included")
=
->@(variable_or_expression)
the tab_trigger
means :
if you tap for
and press the Tab
button,then
@for(var i = 0;i < Things.length;i++){
@(Things[i])
}
displayed