سؤال

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.

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top