-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Open
Labels
editor-foldingEditor code folding issuesEditor code folding issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
Consider a large JavaScript file
function a() {
...
}
function b() {
...
}
function c() {
...
}
and so on...
Collapsing all currently yields:
function a() { ...
}
function b() { ...
}
function c() { ...
}
and so on...
This would be more readable if the closing brace was on the same line:
function a() { ... }
function b() { ... }
function c() { ... }
and so on...
Here is how other prominent editors handle the above:
Atom
Brackets
Sublime Text 3
VS Code
pirocks, yeerkkiller1, shadeglare, AgamlaRage, JanUnld and 282 moretresabhi, SeragAmged and shilomagendossy, tarangnsharma, nanoninja, tresabhi, rodrigoslayertech and 1 morecoderlisan, fiioonnn, jamelt, smiley-uriux, mcookdev and 2 morewaldyrious, baybal, coaperator, JeroenBos, Azarlak and 39 moreTerraTech, es50678, lincolnaleixo, Ryacinse, massimilianokraus and 13 moreDarkSystemCD, Ryacinse, YAMLcase, ehsan2003, ggnam and 11 more
Metadata
Metadata
Assignees
Labels
editor-foldingEditor code folding issuesEditor code folding issuesfeature-requestRequest for new features or functionalityRequest for new features or functionality