Bow Tintin snippets and syntax highlighting support for Visual Studio Code.
Open Preferences
-> Settings
"emmet.triggerExpansionOnTab": true,
"tintin.format.enable": true,
Specific settings for Tintin language
"[tintin]": {
"editor.autoClosingBrackets": "always"
},
- Tintin syntax highlight
- Tintin snippets
- Emmet works in the Tintin template
- Tintin formatting
- Auto detected with
.tintin.php
extension - Manually switch language mode to
tintin
(Ctrl + K, M
or⌘ + K, M
)
Trigger | Snippet |
---|---|
t:comment | {## ##} |
t:echo | {{ $name }} |
t:recho | {{{ $name }}} |
t:extends | %extends |
t:import | %import |
t:block | %block ... %endblock |
t:include | %include |
t:includeIf | %includeIf |
t:includeWhen | %includeWhen |
t:inject | %inject |
t:if | %if...%endif |
t:if-else | %if...%else...%endif |
t:if-elif | %if...%elseif..%else...%endif |
t:unless | %unless |
t:while | %while...%endwhile |
t:for | %for...%endfor |
t:loop | %loop...%endloop |
t:jump | %jump() |
t:stop | %stop() |
t:csrf | %csrf |
t:method | %method |
t:service | %service |
t:class | %class |
t:flash | %flash() |
t:empty | %empty...%endempty |
t:notempty | %notempty...%endnotempty |
t:verbatim | %verbatim...%endverbatim |
t:hasflash | %hasflash...%endhasflash |
t:macro | %macro...%endmacro |
t:auth | %auth...%endauth |
t:guest | %guest...%endguest |
t:env | %env...%endenv |
t:production | %production...%endproduction |
t:isset | %isset...%endisset |
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request