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.

Bug 122000 - Formatting: Only one string should be shifted after if operator without braces
Summary: Formatting: Only one string should be shifted after if operator without braces
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-15 13:35 UTC by kozlov
Modified: 2007-12-03 17:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kozlov 2007-11-15 13:35:32 UTC
Reproduced in build071115.

Copy code to php file palce cursor after 'if' and press 'Enter'.

<?php
if ($a==1)

?>
Comment 1 Tomasz Slota 2007-11-19 13:14:45 UTC
the description meant to say "... and press Enter several times".

This one is already fixed.

Change log:

20:46 Nov 18, 2007
org.netbeans.modules.php.editor.formatting.PHPFormatter 1.7 -> 1.8
Comment 2 kozlov 2007-12-03 17:39:54 UTC
Verified in beta.