Add full file support for .soy
files. See section below. :)
- Syntax highlight
- Syntax check: inline error and warning underline
- Go to definition support
- Snippets
- Highlights keywords, variables and so :)
- Go to definion of given template with F12 / ctrl+click
- Missing
$
sign in variable declarations - Missing closing tag for
let
declarations andparam
s - Extra space before closing tag for
let
s andparam
s - Unnecessary
/
character forlet
andparam
blocks - Self closing for
template
s anddeltemplate
s
TODO
commentsBreaking Change
comments
All snippets start with the character s
to be able to quickly search for them.
Snippets:
- sfor -
foreach
block - sif -
if
block - sife -
if-else
block - sl -
let
statement - single line - slb -
let
statement - block - sp -
param
statement - single line - spb -
param
statement - block - sps -
param
signature - sc -
call
block - sdelc -
delcall
block - sdelcempty -
delcall
block withallowemptydefault="true"
- stemp -
template
skeleton - sdeltemp -
deltemplate
skeleton