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,
<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.
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