Thank you so much for awesome plugin!
I experienced a problem with striping trailing spaces after saving a file.
Let's say we have a code:
defmodule Foo do
def bar do
end
def baz do
end
end
I would expect that after saving a file those spaces in the line between functions will be striped. RubyMine behaves like that in case of Ruby code.
What do you think?
Strip trailing spaces on save is a general editor setting. It's not implemented as a language-specific extension. You should already have access to it. If you're using IntelliJ it's



Select "All" from the "Strip trailing spaces on Save" dropdown

Click "OK"
If those instructions don't work for you let me know.
Thank you for the response!
Yup, I enabled this option.

Generally trailing spaces works fine in case I have some code at this line and white spaces at the end of the line. It doesn't work if the line contains only white spaces.
In case of Ruby code it works fine, which is really weird.
Another example that illustrates the issue:
defmodule Foo do
def bar do
end #spaces here will be removed
#spaces here will not be removed
end
This might be fixed when #98 lands, but I'll leave it open until I can confirm.
@KronicDeth Awesome! Thank you so much! 
This is fixed when I test it on master
Works fine! Thank you!
Most helpful comment
This is fixed when I test it on master