jens1o / vscode-smarty

Smarty syntax highlight extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=imperez.smarty
GNU General Public License v3.0
14 stars 9 forks source link

How to change brackets setting #2

Closed kingschnulli closed 8 years ago

kingschnulli commented 8 years ago

Sorry if this is a newb question, but how do I configure the brackets setting. I tried adding the following to my user settings:

"smarty.brackets": ["[{", "}]"]

and also

"smarty": { "brackets": ["[{", "}]"] }

but nothing seems to work. I need the smarty tags to be like

[{ assign var="foo" value="bar" }]

imperez commented 8 years ago

Hey thanks for the issue. I don't see any documentation to support that style of brackets in VSCode. I even checked some of the existing languages and came up empty. So right now it seems like a limitation of the editor.