WebStorm code Folding and auto completion

Hi
I'm using WebStorm for a couple of months now ... and have a few head aches about it

First of all, then i fold all of my code nicely the way i want, and do some action it will unFold all of it back to unfolded state ,,, this is very anoying  ...

And second it some times acts very slow ... i have a 2x 2.00 Ghz notebook with fedora 12 installed, then the code completion is thinking it can frezze IDE for a couple of seconds .. i was wondering if theris the way to disable it ..... the reason it is slow .. maybe because i use 2 frameworks for JS i guess it has to look thought all of it

Thanks

8 comments

Please send bug reports to tracker at http://youtrack.jetbrains.net/issues/WI
Note, that you need to list specific steps/actions in folding case and give actual code sample, and for performance problem you need to take CPU snapshot for the problematic operations (the last toolbar buttons control the built-in profiler).

0

Code folding is an issue for me as well - seems like you can minimize a bunch of functions and the next thing you know they are all expanded again.
If I can see a pattern, I'll open a case or report it here.

I'm actually looking here to see if there's a way we can manually hint that the section should be collapsed so that PHPStorm will always leave it that way.

0

I think it is evident that PhpStorm always unfold all folded code if it found error in the code. When you starting typing new block of code you always have error. So code folding is near unusable now (+ if-else statement folding bug).

0

This issue is already in Bugs. It happens both in PHP and Javascript. I also added complete example to reproduce.
Hopefully it will be fixed soon, as currently folding is completely unusable.

0

It happens everywhere, in the html/xml/xsl too.

0

Can you give us a link to the issue?

0

Is there any news on the code folding bug? This has been driving me mad for a while now. thanks

0

All new on all bugs appear in tracker - just vote the ones you're interested in an you'll be notified.

Anyway there'll be no significant changes in folding behavior until 3.0

0

Please sign in to leave a comment.