Skip to main content



      Home
Home » Newcomers » Newcomers » Remove trailing whitespace on saving files(Eclipse should (IMHO) have an option for removing trailing whitespace when saving)
Remove trailing whitespace on saving files [message #1844325] Thu, 09 September 2021 04:51 Go to next message
Eclipse UserFriend
Many editors and IDEs have the option to remove trailing whitespace from lines upon saving the file. I cannot find any such option in Eclipse. Is this not possible?
Re: Remove trailing whitespace on saving files [message #1844334 is a reply to message #1844325] Thu, 09 September 2021 12:17 Go to previous messageGo to next message
Eclipse UserFriend
Window -> Preferences... -> Java -> Editor -> Save Actions -> Configure... -> Code Organization -> Remove trailing whitespace -> All lines
Re: Remove trailing whitespace on saving files [message #1844339 is a reply to message #1844334] Thu, 09 September 2021 16:12 Go to previous messageGo to next message
Eclipse UserFriend
Thank you.

But there's no option to do this for all types of files?

(I'm using this mostly for PHP/CSS/JS/HTML, and Python.)
Re: Remove trailing whitespace on saving files [message #1844352 is a reply to message #1844339] Fri, 10 September 2021 08:20 Go to previous message
Eclipse UserFriend
Not that I know of, no.
Previous Topic:Classpath dependancy validator warning
Next Topic:Eclipse won't start Macbook Pro (Catalina)
Goto Forum:
  


Current Time: Sat Jul 12 16:34:17 EDT 2025

Powered by FUDForum. Page generated in 0.11377 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top