Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I disable Javascript syntax checking in NetBeans 7.0 (Linux version for PHP)?

Maybe I'm blind, but I can't find this option and Google doesn't want to help me.

Sometimes NetBeans tries to check syntax in any file when detects some JS, but many templating frameworks/libraries put JS with PHP or special tags, causing that NetBeans throws syntax error in the file.

like image 950
mchurichi Avatar asked Apr 29 '11 17:04

mchurichi


1 Answers

I am using netbeans 8.1 and I can easily manage this type of options by these steps. I think it is also available for netbeans 7 .

  1. Click Tools option in header menu and select Options from this menu.

    enter image description here

  2. Select Editor from this popup.

    Select Editor from Pop

  3. Now you will see submenu below . Select Hint

    Hint

  4. Select language for you Javascript and then uncheck all options that you don't need and save.

This way to you can enable or disable syntax checking option for all languages. and you can also manage formatting, code folding, spelling checker etc

like image 156
Aabir Hussain Avatar answered Nov 02 '22 03:11

Aabir Hussain