|
How to wrap Strings in Eclipse |
|
|
You can have String literals
wrapped when you edit them. For example, if you have code like this:
String message= "This is a very long message.";
|
position your caret after the word "very"
and press Enter. The code will be automatically changed to:
String message= "This is a very" +
" long message.";
|
This behavior can be customized
in the Java > Editor > Typing preference page.
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.