I'm currently using eclipse Mars and I'm trying to figure out how to enable word wrap so that when my lines are too long, it can go down to the next line. I tried going to
Preferences > Java > Code Style > Formatter
and I created a new eclipse profile then set the maximum line width to 50 under the 'line wrapping' tab. I applied the feature and clicked 'Ok'. I tried to test if it worked by writing a really long line of code and it still didn't wrap. What am I doing wrong?