This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Netbeans autoformat failed to format the following code : ----------------------------------- <script type="text/javascript"> $(document).ready(function () { $('#graphiqueHistoriqueEQS').highcharts({ chart: { type: 'column', }, title: { text: 'mon Titre', }, xAxis: { <?= metaObject::getCategories() ?> }, <?= metaObject::getSeries(metaObject::getHistorique($secteur, $annee - 1), metaObject::getHistorique($secteur, $annee - 2)); ?> }); }); </script> ----------------------------------- If I add "keyword:" before my first <?= ... ?> the auto-format work nice. Note : the auto-format work correctly for the same code, with just a php value eg : ----------------------------------- <script type="text/javascript"> $(document).ready(function () { $('#graphiqueHistoriqueEQS').highcharts({ chart: { type: 'column', }, title: { text: 'Historique EQS', }, <?= highchartsMetaObject::getSeries(directionMetaObject::getHistoriqueEQS($secteur, $annee - 1), directionMetaObject::getHistoriqueEQS($secteur, $annee - 2)); ?> }); }); </script> ----------------------------------- Product Version = NetBeans IDE 8.0.2 (Build 201411181905) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.8.0_45 Runtime = Java HotSpot(TM) Client VM 25.45-b02
Created attachment 153956 [details] IDE log
The bug is still available on the version NetBeans IDE Dev (Build 201508170002)
Bug still here on Dev 201509090002
Still available in dev 201601010002