I writing my own text editor plugin for eclipse. I am now working on my own formatter. Actually, following that link http://wiki.eclipse.org/FAQ_How_do_I_support_formatting_in_my_editor%3F.
I have written my Strategy, I have overridden getContentFormatter in my SourceViewerConfiguration..
As I run my plugin and press Ctrl+Shift+F – and nothing happens.
I think that I’m missing a step here. Should I create a handler or something?
Thanks
What helped me. I have created a handler with the following executors body:
Then just create menu items and bind them to the handler.