[ 
https://issues.apache.org/jira/browse/NETBEANS-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320667#comment-17320667
 ] 

Stefano Calabrese commented on NETBEANS-5578:
---------------------------------------------

Solved, deactivating this plugin all sounds good.

*External Code Formatter* 
*Version:* 1.14.0
*Source:* NetBeans Plugin Portal

 

PS

Have you seen the folding problem? 
(https://issues.apache.org/jira/browse/NETBEANS-5480)

 

> Wrong Indent whem js inside php
> -------------------------------
>
>                 Key: NETBEANS-5578
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5578
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javascript - Editor
>    Affects Versions: 12.3
>            Reporter: Stefano Calabrese
>            Priority: Major
>              Labels: editor, javascript, php
>         Attachments: tmp.php
>
>
> When you indent php file with javascript inline like that:
>  
> {code:java}
>  public function woocommerce_settings_tabs_fatturehelp($vendor_id = NULL) {
>         $this->load_style();
>         $this->fields->styleCheckbox();
>         ?>
>         <div id="fatturehelp-wc-ajax-loading" style="display: none;position: 
> fixed;top: 0px;left: 0px;width: 100%;height: 100%;background: white;opacity: 
> 0.8;z-index: 99999;text-align: center;">
>             <i class="fa fa-spinner fa-spin" style="font-size: 
> 5em;margin-top:45%;"></i> 
>         </div>
>         <script type="text/javascript">
>         function fatturehelp_wc_spinner_start() {
>         jQuery("#fatturehelp-wc-ajax-loading").fadeIn('fast');
>         }
>         function fatturehelp_wc_spinner_stop() {
>         jQuery("#fatturehelp-wc-ajax-loading").fadeOut('fast');
>         }
>         </script>
>         <?php
> }{code}
> javascript block will not be indented
>  
>  
>  
> Try to indent tha file attached
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to