- Initial release
- Removed debug startup message
- Fix XSS exempt plugin config variable
- Update indentation rules for HTML.
- The
file
attribute of{include}
will autocomplete if the current file includes/templates/
in it’s page. - Add
{literal}
tag autocompletion.
- Only decrease indent if closing tag is on it's own line. This prevents
{/if}
from decreasing the indent in this code:
<div>
<div {if $a}class="a"{/if}>
</div>
</div>
- Allow modifier completions with @ and string literals.
- Added setting for custom modifiers. Using
smarty.customModifiers
, you can add custom modifier suggestions for those that don't exist in the normal plugins directory.
- Decrease indent after
foreachelse
. - Don't indent after open/close on the same line.
- E.g.
<th></th>
will no longer indent after it.
- E.g.
- Added
smarty.disableHtmlAttributeCompletionQuotes
setting to determine if HTML attribute such asclass=\"...\"
should include quotes in the completion. If you like this option, please add a +1 react and comment on microsoft/vscode#131144 to request that it be added to the standard HTML language in VS Code. - HTML autocompletion for long form boolean attributes such as
required="required"
. - Decrease indent after
else
andelseif
.
- Updated underlying VS Code HTML language server.
- Added document links for
*.tpl
files in PHP files.
- Added
smarty.copyTplPath
command to copy the template path.
- Capitalized "Smarty" in command.
- Fix improper indentation after single line
{if}
.
- Fixed improper indentation after
<input value="{$a->a|htmlspecialchars}" />
caused by->
.
- Fixed indentation after
<div class="margin-0">
(caused by 1.0.12).
- Fix number constant detection.
- Fix
{assign}
variable name parsing. - Fix duplicate completions.
- Skip XSS warning on
$id
and$html
.
- Fix duplicate completions due to concurrent file system requests and custom overrides of Smarty plugins
- Support single quotes for
{include file=...}
.