Bug 251106 - Enable automatic semicolon (;) placement when typed inside method call
Summary: Enable automatic semicolon (;) placement when typed inside method call
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 5.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
: 111727 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-16 13:00 EDT by Marco Massenzio CLA
Modified: 2020-09-04 15:26 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Massenzio CLA 2008-10-16 13:00:35 EDT
Similar to Java editor, when using the C++ editor, it would very helpful if when typing the semicolon *before* the closing parentheses (automatically added by the editor when typing the opening one) it would be automatically placed at the end of line (outside the method's call's parentheses).

Ideally, this should be as 'clever' as in the Java editor even when typing inside string literals, so that if one wants to actually add the semicolon _inside_ the "..." then a backspace will place the semicolon back where it was typed.


x = myMethod(a|) 

- type ';' ---> x = myMethod(a);|
Comment 1 Tomasz Wesolowski CLA 2010-05-07 08:27:57 EDT
This bug is probably a duplicate of #111727. I find this description more precise, though.
Comment 2 Sergey Prigogin CLA 2011-01-31 18:22:52 EST
*** Bug 111727 has been marked as a duplicate of this bug. ***