Bug 552887 - add formatting option for referenced expressions
Summary: add formatting option for referenced expressions
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Thierry BLIND CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-10 12:58 EST by Thierry BLIND CLA
Modified: 2020-05-14 13:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry BLIND CLA 2019-11-10 12:58:20 EST
Hi,
for now, the code formatter does nothing with referenced expressions.

If you try to format following code, the blanks after the "&" symbol will stay unchanged:
<?php
$b = &    $a;

Thierry.
Comment 1 Eclipse Genie CLA 2019-11-10 14:35:18 EST
New Gerrit change created: https://git.eclipse.org/r/152393
Comment 3 Thierry BLIND CLA 2019-11-10 15:56:33 EST
Fixed.
Comment 4 Thierry BLIND CLA 2019-11-10 19:24:30 EST
I forgot to tell that there is now a new option in the formatter profile UI to control the referenced expressions formatting.

Open the formatter profile editor, and see for the "White Space -> Expressions -> Referenced expressions" option.

Thierry.