instead of showing:
< div ... >
< /div>
just show
< div ...>
when folded
Prerequisite for this would be language aware folding #3422
6 years later, Any news on this being an option?
Nope. They won't do that, otherwise it will be no point of use their Visual Studio 2017.
Jan 2019 and it still shows the ending html tag :(
Any news about this feature ?
Why was this made a thing?? This makes it a huge pain to fold a tag and then highlight it to copy or remove it. Is there a way to disable this?
Why was this made a thing?? This makes it a huge pain to fold a tag and then highlight it to copy or remove it. Is there a way to disable this?
in your settings.json
"[javascript]": {
"editor.foldingStrategy": "indentation"
},
in your
settings.json
"[javascript]": { "editor.foldingStrategy": "indentation" },
@sheyooo This did nothing regarding the issue for me.
in your
settings.json
"[javascript]": { "editor.foldingStrategy": "indentation" },@sheyooo This did nothing regarding this issue for me.
Make sure you are setting it for the right language, in my example I used JavaScript, if you want this for another language replace JavaScript
in your
settings.json
"[javascript]": { "editor.foldingStrategy": "indentation" },@sheyooo This did nothing regarding this issue for me.
Make sure you are setting it for the right language, in my example I used JavaScript, if you want this for another language replace JavaScript
THANK YOU!!! Worked like a charm.
in your
settings.json
"[javascript]": { "editor.foldingStrategy": "indentation" },@sheyooo This did nothing regarding this issue for me.
Make sure you are setting it for the right language, in my example I used JavaScript, if you want this for another language replace JavaScript
"[html]": { "editor.foldingStrategy": "indentation" }
@sheyooo still no effect for HTML. :(
Why was this made a thing?? This makes it a huge pain to fold a tag and then highlight it to copy or remove it. Is there a way to disable this?
in your
settings.json
"[javascript]": { "editor.foldingStrategy": "indentation" },
What is the right value to put incase I am trying to target tsx? I tried typescript, yet it is not working.
Why was this made a thing?? This makes it a huge pain to fold a tag and then highlight it to copy or remove it. Is there a way to disable this?
in your
settings.json
"[javascript]": { "editor.foldingStrategy": "indentation" },What is the right value to put incase I am trying to target
tsx? I triedtypescript, yet it is not working.
Interesting, so I do need to put it as typescriptreact.
Most helpful comment
Why was this made a thing?? This makes it a huge pain to fold a tag and then highlight it to copy or remove it. Is there a way to disable this?