Unable to Enable/apply "format file on Save" [message #1872419] |
Wed, 30 October 2024 12:29  |
Eclipse User |
|
|
|
Hello Team,
I am working on enabling "Format on save" option in Eclipse. I am creating a custom profile which is supposed to do indentation fixes for the current working file on click of save. I am following below methods to ensure its happening.
Window > Preferences > Java > Editor > Save Actions
Select "Format source code"
select "Format edited lines" or "Format all lines"
Apply ---> This is not working
And we even tried these steps:
Window > Preferences > Java > Code Style > Formatter
Created a new Profile called "test"
This as well not working
But for some reason the configuration is not being applied and code is not getting formatted even on save. Could you help us finding a way to achieve this?
Eclipse Version: 2024-09 (4.33.0)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07193 seconds