I want to delete the space in rubymine that is only space on the line when saving.

Asked 2 years ago, Updated 2 years ago, 93 views

Sometimes there are lines that have only space left when you commit.
If there is only space in one line, I would like to erase the space.
No configuration found.

rubymine

2022-09-30 18:01

2 Answers

That's it
https://intellij-support.jetbrains.com/hc/en-us/community/posts/205803079-Configure-editor-to-remove-whitespaces-in-blank-lines

 Settings | Editor | General | Strip training spaces on Save

You can achieve this by changing the value of the


2022-09-30 18:01

Sometimes, it can be handled as an empty line with no space.

RubyMine 2017.1.1
When I update to , sometimes I also have space left.

RubyMine automatically saves the file, but I don't think it's working. Cmd-s manually saves the space.


2022-09-30 18:01

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.