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
Hello, I am not sure if I understand correctly what you are talking about but if you talk about ReformatTask, than you should have a look here… JavaCC Parser Generator Integration Tutorial for the NetBeans Platform (apache.org)

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

Re: cpplite project

2021-04-25 Thread Vladimir Kokovic
I forgot to say that I use the NetBeans git version that is made with: ant -Dnbjdk.home=/usr/lib/jvm/jdk-11-oracle -Dcluster.config=full -Dpermit.jdk9.builds=true build ll /mnt/sdd1/home/src/netbeans-apache-git/netbeans/nbbuild/netbeans/cpplite/modules

cpplite project

2021-04-25 Thread Vladimir Kokovic
After many years of use of the C++ module (CND) in NetBeans, the CPPLITE modules also came. I made a simple cppite project (pomocni-cpplite) and here is what happens in NetBeans. 1.Debugger does not work because gdb reports in log file: ~"\nProgram" ~" received signal SIGABRT, Aborted.\n" ~"0x00