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.

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top