Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337672 - Can't format line wrapping after return type in function declaration
Summary: Can't format line wrapping after return type in function declaration
Status: CLOSED DUPLICATE of bug 239878
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-20 16:42 EST by Daniel Svensson CLA
Modified: 2011-02-21 04:27 EST (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 Daniel Svensson CLA 2011-02-20 16:42:22 EST
Build Identifier: M20100909-0800 

Currently it's not possible to format code like this automatically:

static xmms_medialib_entry_t<LINE BREAK HERE>
xmms_medialib_entry_new_insert (xmms_medialib_session_t *session, guint32 id,
                                const char *url, xmms_error_t *error);
{
}

In words, a line break before function name is what I'm looking for, otherwise function declaration lines tend to become pretty long.

Reproducible: Always

Steps to Reproduce:
1. write the code
2. format the source
Comment 1 Anton Leherbauer CLA 2011-02-21 04:27:21 EST

*** This bug has been marked as a duplicate of bug 239878 ***