Bug 420957 - indentation preference for closing round bracket ")" when it is on the next line
Summary: indentation preference for closing round bracket ")" when it is on the next line
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.3.1   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-03 06:12 EST by Jasper Teng CLA
Modified: 2022-09-18 16:56 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasper Teng CLA 2013-11-03 06:12:48 EST
Example1 Text:
public MyConstructor(
String firstArg,
String secondArg
) {
// constructor
}

Example1 Resulting Indentation:
public MyConstructor(
[tab][tab]String firstArg,
[tab][tab]String secondArg
[tab][tab]) {
[tab]// constructor
}

Example1 Expected/Preferred Indentation:
public MyConstructor(
[tab][tab]String firstArg,
[tab][tab]String secondArg
) {
[tab]// constructor
}



Example2 Text:
String s = String.valueOf(
data,
offset,
count
);

Example2 Resulting Indentation:
String s = String.valueOf(
[tab][tab]data,
[tab][tab]offset,
[tab][tab]count
[tab][tab]);

Example2 Expected/Preferred Indentation:
String s = String.valueOf(
[tab][tab]data,
[tab][tab]offset,
[tab][tab]count
);


P.S.: The Expected/Preferred above is actually the default for eclipse helios.
Comment 1 Eclipse Genie CLA 2020-06-27 16:51:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Eclipse Genie CLA 2022-09-18 16:56:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.