Reputation: 1474
I am waiting for this feature for years and finally thinking to get back to WebStorm just because the Devs just ignoring this simple feature. All plugins I've tried that should fix that closing bracket bug (from user perspective this is deffinatly a bug) are too buggy at the moment. Maybe someone found good working plugin to fix this?
PS. Really? Looks like those devs are minusing my post )))
Upvotes: 1
Views: 185
Reputation: 1474
@Matt, I hope they finally will make it someday )
Btw, stop silently disliking this post, stand up and say loudly, where I am not right!
As I understood, they says "If you want it, than make it yourself". Perfect approach )))
Upvotes: 1
Reputation: 1474
Ok, I managed to get what I want using this VSCode plugin: Explicit Folding
Just instaled plugin and added this to VSCode's settings.json:
"folding": {
"*": [
{
"begin": "{{{",
"end": "}}}"
},
],
"typescript": [
{
"begin": "[",
"end": "]",
},
{
"begin": "{",
"end": "}",
}
],
"typescriptreact": [
{
"begin": "{/*",
"end": "*/}"
},
{
"begin": "[",
"end": "]",
},
{
"begin": "{",
"end": "}"
},
]
}
Upvotes: 0
Reputation: 65643
As of VS Code 1.39, you cannot change how folding works. This request feature is tracked by https://github.com/microsoft/vscode/issues/3352
Upvotes: 2