As the title says, I want to format only selected lines of code. I know by pressing Ctrl + Shift +F formats whole file.
Formatting whole file is not good options as it will create lots of conflicts when I will commit the file. I changed a portion of the file (copied some code from internet etc.).
Is there any easy way to format selected lines in eclipse
. I have searched a lot but found no solution.
I am working with PHP.