Search Posts

Category: Netbeans

Solved – The root cause why Netbeans can’t print colored text using latest Maven

Netbeans has bundled an old Maven, version 3.3.9, it can’t print out colored text to the output window. But when we switch to latest Maven 3.6.0, all color gone. I asked Netbeans guys, maven guys and jansi guys for help, but can’t get a solution. So i try to hack the maven code, i found […]

Netbeans lexer problem : Fix the lexer to not return null token in this state

I have met the problem “Fix the lexer to not return null token in this state.” (see below) and used one week to fix it by hacking netbeans source code. I found out Netbeans will not pass the whole file to lexer to parse. So if your antlr grammar used “skip” syntax, it has a […]

Netbeans quick outline

Eclipse quick outline is just so convenient, after i press command-O shortcut, i can type in keyword to filter the function/variable i want, then just click enter to jump to it. In netbeans, when i press cmomand-7, it opens navigator window which is similar to eclipse one, but it doesn’t support filtering and sometime can […]

My netbeans antlr plugin will do this: select the file you want to compile (see the combo box above), when you editing the .g4 file, it keep using the latest g4 to compile to file you have selected, and see the result in the bottom window. Is it a good design?