Closed hasrthur closed 5 years ago
Thanks for reporting!
Can you give an example how I can reproduce this issue? Is it only in Haskell files?
Steps to reproduce:
Open Intellij Idea with installed plugin
Click Create New Project. Choose Haskel module and Project SDK
Click Next and choose the name for new project
Click Finish and choose Yes when prompted to create a new directory
Wait until all background tasks are finished
Ensure the Strip trailing spaces on save are turned on.
Open file src/Lib.hs
Move the cursor to the last line
Press space (can repeat multiple times)
Wait couple of seconds.
Actual result: All spaces are deleted
Expected result: All spaces are preserved
Is it only in Haskell files?
@rikvdkleij as far as I tested, yes
Thanks for your report!
Found the issue and fixed it. I did not notice this issue because I had the option Always keep trailing space on caret line
enabled.
Great news! Thank you!
Should be solved in beta52.
Hi,
I noticed some strange behavior after I installed the plugin. Whenever I try to edit a line and start with a space char and I am not fast enough the space character will be stripped. These are my settings:
To overcome the issue I have to do this (which is not an option really):
or this:
Both approaches are not perfect though. When I disable the plugin the space is preserved unless I save the file (which is an expected behavior).
It was reproduced on two machines with macOS Mojave with latest Intellij Idea CE