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.
Hi, I am using Netbeans for developing my php project and I am getting troubles with Netbean's shorcut cards. It works very well in Java projects but not in php and javascript (I just tested two types :d). I want to know how to apply these functions in coding with php and js. Such as Ctrl + ; to insert a ; at the end of line. Especially, "reformat code" function which I use many times and It now does not work true. For example, I created a .js file, then create a function like this: function test() { // alert("hello1"); alert("hello2"); } Then I click to line 1 and press "Ctrl + /" to uncomment => work fine Now I press "Alt + Shift + F" (to reformat code), it becomes: function test() { // alert("hello1"); alert("hello2"); } So far, I cannot use "Ctrl /" to uncomment the line 1 and it becomes: function test() { // // alert("hello1"); alert("hello2"); } Please let me how to fix :d Thanks !
The issue with CTRL+semicolon is language specific action. For PHP I have entered new issue # 203813. The formatting is also language specific. Your issue is in JS. Reassigning.
This has been already fixed for 7.3.