Re: API to force netbeans to compile current file
Peter Cheung <[email protected]> Sat, 11 Nov 2017 09:42:49 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <ME1PR01MB02600EBB88DB002A9E107422B5550@ME1PR01MB0260.ausprd01.prod.outlook.com> |
--_000_ME1PR01MB02600EBB88DB002A9E107422B5550ME1PR01MB0260ausp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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 Right click on the file in the project window and choose =93Compile File=94= . There is a hotkey if this is something you do often. Also you might want to consider the =93compile on save=94 option. This is = a project property. Right click on the project, choose property, choose = =93compiling=94 then choose =93compile on save=94. On Nov 10, 2017, at 7:00 AM, Peter Cheung <[email protected]<mailto:mch= [email protected]>> wrote: Dear All Which API to force netbeans to compile current file? Thanks From Peter --_000_ME1PR01MB02600EBB88DB002A9E107422B5550ME1PR01MB0260ausp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> <style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo= ttom:0;} </style> </head> <body dir=3D"ltr"> <div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;= color: rgb(0, 0, 0);"> how to invoke this by API?</div> <hr style=3D"display:inline-block;width:98%" tabindex=3D"-1"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" st= yle=3D"font-size:11pt" color=3D"#000000"><b>From:</b> Derik Devecchio <D= [email protected]><br> <b>Sent:</b> Saturday, November 11, 2017 1:27 AM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> [platform-dev] Re: API to force netbeans to compile current= file</font> <div> </div> </div> <div class=3D"" style=3D"word-wrap:break-word">Right click on the file in t= he project window and choose =93Compile File=94. <div class=3D"">There is a hotkey if this is something you do often.</div> <div class=3D""><br class=3D""> </div> <div class=3D"">Also you might want to consider the =93compile on save=94 o= ption. This is a project property. Right click on the project,= choose property, choose =93compiling=94 then choose =93compile on save=94.= </div> <div class=3D""><br class=3D""> </div> <div class=3D""><br class=3D""> </div> <div class=3D""> <div class=3D""><br class=3D""> </div> <div class=3D""><br class=3D""> <div> <blockquote type=3D"cite" class=3D""> <div class=3D"">On Nov 10, 2017, at 7:00 AM, Peter Cheung <<a href=3D"ma= ilto:[email protected]" class=3D"">[email protected]</a>> wrote:= </div> <br class=3D"x_Apple-interchange-newline"> <div class=3D""> <div class=3D"x_WordSection1" style=3D"font-family:TimesNewRomanPSMT; font-= size:18px; font-style:normal; font-weight:normal; letter-spacing:normal; te= xt-align:start; text-indent:0px; text-transform:none; white-space:normal; w= ord-spacing:0px"> <div class=3D"" style=3D"margin:0in 0in 0.0001pt; font-size:11pt; font-fami= ly:Calibri,sans-serif"> Dear All</div> <div class=3D"" style=3D"margin:0in 0in 0.0001pt; font-size:11pt; font-fami= ly:Calibri,sans-serif"> Which API to force netbeans to compile current fil= e?</div> <div class=3D"" style=3D"margin:0in 0in 0.0001pt; font-size:11pt; font-fami= ly:Calibri,sans-serif"> Thanks</div> <div class=3D"" style=3D"margin:0in 0in 0.0001pt; font-size:11pt; font-fami= ly:Calibri,sans-serif"> From Peter</div> </div> </div> </blockquote> </div> <br class=3D""> </div> </div> </div> </body> </html> --_000_ME1PR01MB02600EBB88DB002A9E107422B5550ME1PR01MB0260ausp_--