madskristensen / WebEssentials2017

A Visual Studio extension
Other
90 stars 18 forks source link

Fold region in JS #7

Closed NN--- closed 7 years ago

NN--- commented 7 years ago

WE 2015 used to fold regions in js while WE 2017 doesn't do it.

// #region Test
// #endregion
tfsmag commented 7 years ago

I am also having this issue. We use this feature heavily for readability amongst our team.

madskristensen commented 7 years ago

I didn't move that to VS2017 because it had huge performance issues. Instead I've opened a suggestion bug on the VS JavaScript team

NN--- commented 7 years ago

@madskristensen Is there URL we can vote for this?:)

madskristensen commented 7 years ago

There is not. It's an internal bug and the one on UserVoice.com was closed a year ago. You can create a new one on UserVoice and rally people to vote for it

NN--- commented 7 years ago

@madskristensen Hopefully, now with enough votes, we make a change. https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/18555979-support-for-regions-in-javascript-editor-of-visual

TheFerrango commented 7 years ago

Region folding appears to be broken for Typescript files too

Gambero81 commented 7 years ago

oh nooo.. this is a critical feature for us! please recosider your decision...

madskristensen commented 7 years ago

I just released the JavaScript Regions extension

NN--- commented 7 years ago

Please add it to Web Essentials pack https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebExtensionPack2017

madskristensen commented 7 years ago

Like all other new extensions, I'll wait and make sure it works properly and fix any bugs coming in before I add it to Web Essentials

Gambero81 commented 7 years ago

@madskristensen i love u!