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.
Product Version = NetBeans IDE 7.3 (Build 201302132200) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_17 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01 1. The shortcut key: Ctrl ; In javascript file: its work fine with this version but in html file, in the <script> tag, it does not work. Please fix this. 2. Reformat code: Ctrl Alt Shift F I have this code: function abc() { // haha if (x === 1) { } } After I do reformat code, nothing happen. I must insert a new space before // haha then It works. Like this: function abc() { // haha if (x === 1) { } } This happens both in html <script> and .js file.
Created attachment 132366 [details] IDE log
sorry, just Alt Shift F for reformatting code :d
Hi, thanks for reporting, but please do not report several problems into a single issue. As for #1: Reproducible, in embedded JS code Ctrl+SEMICOLON does not complete lines As for #2: This is as designed that comment at the beginning line is not shifted (due to Toggle comment feature). So let's keep this issue about #1, reassigning to JavaScript|Editor
I think it's because there is no insert semicolon action registered for html. For example same case in php works because there is insert semicolon action in php.
*** This bug has been marked as a duplicate of bug 218962 ***