XML ResourceBundle issues

Answered

Hello!

I try to move some of my properties files from text to XML format.

So on, two issues are still there, I can't solve.

1. How can I disable XML wrapping for resource bundles? Are there special settings I did not found?

2. There are some long description strings which has two or three paragraphs. Still I use a double '\n' to get the paragraph. This doesn't work for the XML version.

Any help for me?

0
6 comments

Is it an Android project? There is an option for custom formatting of Android XML files:

Otherwise, you'll need to disable wrapping for all XML files:

I'm not sure your second question is specific to the IDE.

0

It is not an Android project. Just a simple JAVA one.

The 'Wrap text' option is not set here.

Due to the second question, you are right, but the intension was to get a tip.

0

Disable all the wrapping options for text/attributes. If the text is wrapped only visually, disable the soft wraps in the editor.

0

I did, but it doesn't work either.



0

This is a bug I filled in long time ago? Any light on the horizon?

0

Please sign in to leave a comment.