How to write a custom eclipse formatter for a custom file type (text)

I would like to write eclipse formatting for a custom file type (text based). The goal is to format tabular text data such as Fitnesse, for example:

| column1 | column 2 |
| 5 | 6 |

When formatted would appear as:

| column1 | column 2 |
| 5 | 6 |

I don’t think that the code will be difficult to write, and I can get the algorithm from suitability, but I don’t know how to write a plug-in for eclipse.

thanks

+4
source share

All Articles