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 8.2 (Build 201609300101) Operating System = Windows 8.1 version 6.3 running on amd64 Java; VM; Vendor = 1.8.0_101 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13 再現性: 毎回発生 STEPS: * PHPファイルを作成します * ファイルの先頭に<?php //comment ?> と書きます * フォーマット(Alt + Shift + F)します ACTUAL: 「?>」 の直前にスペースが自動で挿入されてしまいます。 フォーマットの度にスペースが挿入されていきます。 (Alt + Shift + F) <?php //comment ?> ↓ (Alt + Shift + F) <?php //comment ?> ↓ (Alt + Shift + F) <?php //comment ?> … なぜか、行を空けると、それ以降のソースはスペースが挿入されません。 --- 1: <?php //comment1 ?> 2: <?php //comment2 ?> 3: 4: <?php //comment3 ?> --- ↓フォーマット(Alt + Shift + F)する --- 1: <?php //comment1 ?> 2: <?php //comment2 ?> 3: 4: <?php //comment3 ?> --- 1、2行目の「?>」の直前に、どんどんスペースが挿入されていきます。 EXPECTED: 「?>」の直前にスペースが挿入されない。
Created attachment 164127 [details] IDEのログ