Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Caret position jumps to head of next line after using [Content Assist] in C++ editor(Caret position should stay after the generated content instead of jumping to next line.)
Caret position jumps to head of next line after using [Content Assist] in C++ editor [message #1847905] Fri, 12 November 2021 06:19
Panos Kao is currently offline Panos KaoFriend
Messages: 1
Registered: November 2021
Junior Member
I am a new comer and learning how to use Eclipse C++ CDT.

I notice that after using [Content Assist] after the second [::], then the caret position will automatically jump to the head of next line.

Here comes an example.

Typing "chrono::" and using [Content Assist] to become
"chrono::system_clock", the caret will not jump and stay after "system_clock".

Typing "chrono::system_clock::" and using [Content Assist] to become
"chrono::system_clock::duration", the caret will jump to the head of next line.

Where should I configure to change the behavior of caret?

I try to configure the related setups in the preference about caret and content assist, but still can't change the caret behavior.

Caret position should stay after the content which is generated by the content assist instead of jumping to next line.

Thank you very much if this annoying problem can be solved.

[Updated on: Fri, 12 November 2021 09:21]

Report message to a moderator

Previous Topic:How to reset all personal settings to default
Next Topic:"No Toolchain found for Target Local" error when using Meson Project
Goto Forum:
  


Current Time: Fri Apr 26 22:21:48 GMT 2024

Powered by FUDForum. Page generated in 0.02891 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top