Question

Just a tiny question, every time I fold an XML document, I then click Ctrl-D (Format Source) and then it Unfolds them. How can I disable that? (I don't think there's an option for this, is there?)

Thanks all.

Was it helpful?

Solution

There's no option for doing so. It's a known issue that formatting does not respect the folded sections of code (it doesn't restore them to the folded state after doing it's work). The solution appears to be to format the code yourself. :-) It's been discussed previously in the Embarcadero IDE forums since the formatter was added to the IDE.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top