Bug 362261 - "Ending brace on the same line" option for Code Style
Summary: "Ending brace on the same line" option for Code Style
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2011-10-28 00:56 EDT by Kibeom Kim CLA
Modified: 2020-09-04 15:17 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kibeom Kim CLA 2011-10-28 00:56:20 EDT
Build Identifier: 

It would be nice if it has "Ending brace at the same line" option.

example:

from

double f(int x){
    return x;
}

to

double f(int x){
    return x;}

inspired by python.

Reproducible: Always
Comment 1 Kibeom Kim CLA 2011-12-12 11:26:21 EST
putting

vector<reference_wrapper<vector<unsigned>>> _FOR_ECLIPSE_AUTO_FORMAT;

at the beginning of class or function makes it work, don't know why