Re: AW: How to trigger the Format Action for a SQL file for calling an external Code Formatter

2021-04-25 Thread Andreas Reichel
Good afternoon Klaus, thank you for your prompt response. You Sir, are my hero. I had to add @MimeRegistration(mimeType="text/x-sql",service=ReformatTask.Factory.class) in front of the  public class ExternalFormatterReformatTaskFactory implements ReformatTask.Factory and for whatever reason,

AW: How to trigger the Format Action for a SQL file for calling an external Code Formatter

2021-04-25 Thread Klaus Martinschitz
<https://netbeans.apache.org/wiki/index.asciidoc> Regards, Klaus Von: Andreas Reichel [mailto:andr...@manticore-projects.com] Gesendet: Sonntag, 25. April 2021 15:04 An: users Betreff: How to trigger the Format Action for a SQL file for calling an external Code Formatter Greetings.

How to trigger the Format Action for a SQL file for calling an external Code Formatter

2021-04-25 Thread Andreas Reichel
Greetings. my goal is to amend the External Code Formatter Plugin and to support SQL via JSQLFormatter (please see https://manticore-projects.github.io/jsqlformatter/ for details). I have actually no idea, how to do that, but I managed to write a new Formatter Service, compile and deploy the plugi