Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337672

Summary: Can't format line wrapping after return type in function declaration
Product: [Tools] CDT Reporter: Daniel Svensson <daniel.svensson>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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 ***