Bug 545697 - Automatically insert semicolon at correct position not available in preferences for C/C++ editor
Summary: Automatically insert semicolon at correct position not available in preferenc...
Status: REOPENED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 9.7.0   Edit
Hardware: PC Windows 10
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 05:31 EDT by GOBBURI SHANTHI KUMAR CLA
Modified: 2020-09-04 15:27 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 GOBBURI SHANTHI KUMAR CLA 2019-03-23 05:31:16 EDT
Automatically close semicolon not available in preferences for C/C++ editor.
I have found it is available for jdt but not under preferences for C/C++ editor's Typing section.
It would be a great change in the newer version if this is available.
Thanks in advance.
Comment 1 Nathan Ridge CLA 2019-03-23 15:07:49 EDT
What does it mean to automatically close a semicolon?

You can only "close" something than you also "open", like ( ), [ ], { }, < >, ' ', or " ".
Comment 2 Nathan Ridge CLA 2019-03-24 02:23:38 EDT
I guess you're probably referring to the "Automatically insert at correct position" setting in Java -> Editor -> Typing, which does have "semicolons" as a supported option.

It's still not clear to me what this does. Could you give an example of an editing pattern where Eclipse automatically inserts a semicolon?
Comment 3 Nathan Ridge CLA 2019-07-04 00:32:39 EDT
I'm going to close this as invalid because I don't understand the requested feature.

Please feel free to elaborate and reopen.
Comment 4 m s CLA 2020-01-26 07:58:48 EST
this feature is very useful since when you are at the middle of line and press semicolon, the semicolon adds at the end of line. It makes programming so easier.
Thanks
Comment 5 Nathan Ridge CLA 2020-01-26 15:25:58 EST
(In reply to m s from comment #4)
> when you are at the middle of line and
> press semicolon, the semicolon adds at the end of line.

Thanks for clarifying.