Re: API to force netbeans to compile current file
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Maybe this helps: = https://blogs.oracle.com/geertjan/invoke-an-action-from-the-netbeans-comma= nd-line Gj > On 11 Nov 2017, at 10:42, Peter Cheung <[email protected]> wrote: >=20 > how to invoke this by API? > From: Derik Devecchio <[email protected]> > Sent: Saturday, November 11, 2017 1:27 AM > To: [email protected] > Subject: [platform-dev] Re: API to force netbeans to compile current = file > =20 > Right click on the file in the project window and choose =E2=80=9CCompil= e File=E2=80=9D.=20 > There is a hotkey if this is something you do often. >=20 > Also you might want to consider the =E2=80=9Ccompile on save=E2=80=9D = option. This is a project property. Right click on the project, = choose property, choose =E2=80=9Ccompiling=E2=80=9D then choose = =E2=80=9Ccompile on save=E2=80=9D. >=20 >=20 >=20 >=20 >> On Nov 10, 2017, at 7:00 AM, Peter Cheung <[email protected]> = wrote: >>=20 >> Dear All >> Which API to force netbeans to compile current file? >> Thanks >> =46rom Peter