Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans 8.0.2's Syntax Highlight and Code Folding not working for PHP, HTML, Javascript

I am using ubuntu 15.10 and used ubuntu software center for netbean's installation. So, here is the list of not working functionality which I noticed.

  • In html files, it show red color when select tags, no code folding, enter button is not working for lines and no code completion.
  • In Javascript files, it show plain-text only.
  • In Php files, only code folding is not working.

I know how to disable or enable syntax. I have also answered a question here.

I think it is because a plugin is not installed. If so, I really don't know which plugins I should install for php developement.

EDIT

One more thing I want to show you my installed plugins are shown in the below image

enter image description here

Please help me with Answers/Suggestions. Thanks in Advance.

like image 212
Aabir Hussain Avatar asked Dec 03 '16 07:12

Aabir Hussain


1 Answers

Netbeans was primarily developed as Java programming IDE. So all functionality for programming languages other than Java is not hardcoded into Netbeans internal functionality but can be ensured by external plugins.

It seems that Ubuntu software center contains general Netbeans bundle that can work with Java but lacks PHP plugins (and perhaps highlights some PHP syntax because of its similarity to Java syntax).

You can find out what plugins you need and install them, but more convenient solution is to download and install from official site PHP Netbeans bundle which includes all functionality for PHP Web-development including PHP, HTML and JavaScript syntax highlightning and code folding.

like image 162
SergeyLebedev Avatar answered Oct 01 '22 19:10

SergeyLebedev