To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorStrip Trailing Spaces
As a user
I sometimes want my editor to split trailing spaces on save
- Background
-
- Given
- I will choose "plugins/strip_trailing_spaces/features/fixtures/test.txt" from the "open_file" dialog
- And
- I open a file
- And
- I replace the contents with "Hi \n \n Foo \n"
- Scenarios
-
- Strip spaces on save
- Keep cursor position on save
- Keep closest cursor position on save
- Strip spaces, but not newlines on save
- Strip nothing on save
- Strip spaces on save
-
- When
- I click "Enabled" from the "Plugins/Strip Trailing Spaces" menu
- When
- I click "Strip Blank Lines" from the "Plugins/Strip Trailing Spaces" menu
- And
- I save the tab
- Then
- I should see "Hi\n\n Foo\n" in the edit tab
- Keep cursor position on save
-
- When
- I move the cursor to 8
- And
- I save the tab
- Then
- the contents should be "Hi\n\n F<c>oo\n"
- Keep closest cursor position on save
-
- When
- I move the cursor to 5
- And
- I save the tab
- Then
- the contents should be "Hi\n<c>\n Foo\n"
- Strip spaces, but not newlines on save
-
- When
- I click "Strip Blank Lines" from the "Plugins/Strip Trailing Spaces" menu
- And
- I save the tab
- Then
- I should see "Hi\n \n Foo\n" in the edit tab
- Strip nothing on save
-
- When
- I click "Enabled" from the "Plugins/Strip Trailing Spaces" menu
- And
- I save the tab
- Then
- I should see "Hi \n \n Foo \n" in the edit tab
Last published over 5 years ago by danlucraft.