Hirse / brackets-beautify

Brackets Extension to beautify JavaScript, HTML, and CSS files.
MIT License
33 stars 3 forks source link

Suggestion: option to prevent un-rolling hidden pieces of code in html #6

Open Skipper97 opened 9 years ago

Skipper97 commented 9 years ago

Hello

I have a little suggestion as mentioned in the title. In my opinion it would have been very convenient (and I was used to it since I moved recently from the original extension)

What I mean is:

Hidden code

After pressing Ctrl+Shift+L it gets 'un-rolled' :)

Thanks in advance :)

PS. I have to mention that I really, really appreciate that someone decided to revive this apparently abandoned extension :smiley: Keep it up! :smiley:

Hirse commented 9 years ago

First of all, thanks. :smile:

Next, a few questions: I am assuming you are using Brackets Code Folding to hide parts of you code, right?

...and I was used to it since I moved recently from the original extension

Do you mean it worked as you expect in the original extension?

Skipper97 commented 9 years ago

Well, I meant I'm just using that 'built-in' Brackets feature, using those side arrows to hide the parts of code which I don't need at the moment.

So I've thought it might be convenient not to have those hidden parts shown when formatting with beautify :grinning:

Hirse commented 9 years ago

Alright, understood. I agree, that that would be convenient, but I don't really know how to do it. But I will continue thinking about it and looking into the folding API to find something.