gshakhn / idea-fitnesse

An IntelliJ plugin for Fitnesse.
12 stars 22 forks source link

Configurable whitespace in wiki page formatting #20

Closed antrix closed 8 years ago

antrix commented 8 years ago

Given a wiki block like this:

|my fixture|
|user clicks| this|
|sees that| 

This plugin formats the above block of code like this:

| my fixture         |
| user clicks | this |
| sees that          |

whereas the Fitnesse project's browser-based editor formats the same block of code like this:

|my fixture      |
|user clicks|this|
|sees that       |

The difference is in the whitespace padding. This plugin has padding whereas the Fitnesse project's formatter does not include padding.

In our team, we have some folks using this plugin and some using the Fitnesse browser based editor. This leads to commits/merges where nothing changes other than whitespace formatting.

Can this whitespace padding me made configurable?

amolenaar commented 8 years ago

I expect the padding can be made configurable. Will set it to 0 spaces for a start to mimic the browser behaviour.

antrix commented 8 years ago

That would be great. Thanks!

amolenaar commented 8 years ago

Fixed in 1.3.1.