A
A
Andrey2014-02-10 05:46:00
IntelliJ IDEA
Andrey, 2014-02-10 05:46:00

WebStorm/PhpStorm/IDEA: why does collapsed code expand?

Suppose I collapsed a block of code:
01a26600e9a292c01ac0a5cf25b38d75.png
I press Ctrl + D (duplication) or I copy the collapsed block and paste it below and immediately the previous collapsed block expands itself. How to keep both blocks collapsed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
apetrovskiy, 2014-02-10
@apetrovskiy

IMHO, "unmanaged regions" is a problem of many IDEs and is related to the control itself, and not to the implementation of logic in the IDE. I have observed similar things in Visual Studio, PowerGUI, SharpDevelop (construction #region ... #endregion). Despite the fact that the implementation of the control in these products is different (some from a third-party supplier, some - self-written).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question