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 187661 - [Feature Request] Wrapping a long string concatenation
Summary: [Feature Request] Wrapping a long string concatenation
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Ondrej Brejla
URL: http://framework.zend.com/manual/en/c...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-16 15:14 UTC by arnolem
Modified: 2012-04-06 14:49 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arnolem 2010-06-16 15:14:03 UTC
-----------------------------------------------------------
Product Version = NetBeans IDE 6.9 (Build 201006111053)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01
-----------------------------------------------------------

Hello,

I think it would be interesting to indent correctly and concatenated string when is to long like :

<?php
$sql = "SELECT `id`, `name`, `username`, `email` FROM `people` " 
       . "WHERE `name` = 'Caroline' "
       . "ORDER BY `name` ASC ";


?>

Thanks
Comment 1 Petr Pisl 2010-06-22 14:17:37 UTC
It can be simply implemented.
Comment 2 arnolem 2010-06-22 16:40:33 UTC
The ideal would be to align the points with equal sign