I'd like to extend one of the JBehave plugins to be able to format tables, would this be possible in an IntelliJ IDEA plugin?
An example would be starting with a table like
|value|other longer value|yet another value|
Would re-format to the following
|header1|header2 |header123 |
|value |other longer value|yet another value|
|foo |bar |blah |
I realise this structure isn't the traditional tree like/block structure that the code formatter is used to.
Before I attempt this does anyone have any thoughts on whether it is even possible?