Is there any way to undo the Ctrl + Shift + F in e-clipse without using Ctrl + Z!
Previously my code was like this :
cityCode = HotelSubList.item(h).getAttributes().getNamedItem(“Code”).getNodeValue();
After Ctrl + Shift + F it is like this.
cityCode = HotelSubList
.item(h)
.getAttributes()
.getNamedItem(
“Code”)
.getNodeValue();
Now I need to convert the format as it was without using Ctrl + Z
you can change the code formatter settings from
Window->Preferences->Java->Code Style->Formatterand reformat your code with the new settings.