General file support for .soy
files. See section below for details.
- Syntax highlight
- Syntax check: inline error and warning underline
- Go to definition support
- Find References
- Code autocompletion
- Snippets
- Outline
- File/folder excludes from parsing
- Highlight of keywords, variables, html entities, comments, etc.
Go to definion
Peek definition
Find all references
- Autocomplete for template calls
Soy File Support: Reparse workspace
: Useful after external changes (eg: switching branches) to find all new template dataSoy File Support: Show extension changes
: Opens your favourite changelog to show what's new :)Soy File Support: About
: Opens the readme file
- 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 - Empty declaration
- Missing colon
- Some common wrong stuctures of
{elseif}
, eg:{else if}
TODO
commentsBreaking Change
comments
All snippets start with the character s
to be able to quickly search for them.
Snippets:
- sfor -
foreach
block - sforin -
for .. in
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