Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Code Folding Problems - More info...
Code Folding Problems - More info... [message #1817471] Fri, 22 November 2019 15:02
Eclipse UserFriend
I hope this is something I am doing wrong.
I am so totally at the end of my rope with this code folding problem.

I believe that I am using the default CDT editor.

PROBLEM: The folds are constantly opening by themselves.

Editing the line of a folded section makes them open by themselves.
Pressing return on a line that is folded makes them open by themselves.
Pressing return on the line above can make folds open by themselves.
Pressing return on any line can make folds below that point open by themselves.
The cross symbols indicating the fold is closed displays sometimes when it is not.
The dash symbol indicating the fold is open displays sometimes when it is not.
Sometimes the symbol is missing entirely.
Sometimes the code is folded and there is no symbol to open it and i cant get to my
code at all! Even a restart does not fix it.
The symbol spams the code preview every time and covers the code i want to close.

I spend an absolutely unacceptable amount of time trying to manipulate the folding.

This is the solution I would like to see:

1.) No fold ever opens unless I click the cross button.
2.) No fold ever closes unless I click the dash button.
3.) Hovering on the button never spams the folded code preview.
4.) Pressing ENTER on the line with the cross does NOT open the fold.
5.) Pressing ENTER on the line above the cross does NOT open the fold.
5.) Pressing ENTER on the line below the cross does NOT open the fold.
6.) Editing the line with the cross does NOT open the fold.

And another thing. The symbol at the end of the folded line is what actually
is supposed to be the code preview. This does not do anything at all when I
hover over it. ( It looks like a outlined space char with two dots at the bottom. )

Thanks, hope you can help me out.

I also notice this behaviour when I cut and paste code in.
This feels like a line counting issue.
Also , the folds that are opening always seem to be below where I am editing.

I am running Ubuntu Linux 19.10

[Updated on: Mon, 25 November 2019 16:45] by Moderator

Previous Topic:How to add an external library to eclipse cmake projects
Next Topic:Adding ChibiOS to Eclipse 2019 - missing equinox parts
Goto Forum:
  


Current Time: Wed Jun 18 06:09:43 EDT 2025

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

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

Back to the top