Summary: | Code folding failures | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Jason Roderick <Jason_M_Roderick> | ||||||||||||
Component: | Text | Assignee: | Platform-Text-Inbox <platform-text-inbox> | ||||||||||||
Status: | NEW --- | QA Contact: | |||||||||||||
Severity: | normal | ||||||||||||||
Priority: | P3 | CC: | cdtdoug, Jason_M_Roderick, jonah, loskutov | ||||||||||||
Version: | 4.7.3 | ||||||||||||||
Target Milestone: | --- | ||||||||||||||
Hardware: | PC | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Attachments: |
|
Description
Jason Roderick
2020-02-04 23:04:23 EST
Created attachment 281722 [details]
animated gif of failure
Hi Jason, Thank you for the bug report against CDT. Hi Platform folk, I am moving this bug report to the Eclipse Platform project as I believe these are all common issues affecting many editors in Eclipse. I have attached an animated gif showing one of the bigger problems, when a code block can't be expanded. In the gif I am using Java. and when I introduce and remove a syntax error, the code folding is left in a broken state. Any errors in the log? (In reply to Andrey Loskutov from comment #3) > Any errors in the log? No. I looked at attachment 281772 [details] , and I have never encountered that problem.
My problems seem to be different. What are you using to make one
of those animated .gif images? I could try to get examples of what I
am seeing here in the same fassion. I am running on Ubuntu 19.10.
I am running 18.04 and I used peek to make gifs. https://github.com/phw/peek If it turns out that the case you have is Cat specific I will split the bug up. (In reply to Jonah Graham from comment #6) >... Cat specific... *CDT specific Created attachment 281753 [details]
void
when creating a new function , typing is swallowed by next existing function.
Created attachment 281754 [details]
enter
When I press enter , everything opens.
Thanks for the pointer to peek , that is a gem of a tool! Here are two images that show at least 2 examples of what I am getting. The first is called 'void'. This is where the start of my function gets swallowed up for some reason. I do not press anything on the keyboard but void and a space , I do not press enter here. The second is called 'enter' and is what happens when I make an edit and press enter. It expands everything. I have to go back and close everything in the file every time I press enter on anything. That includes cut and paste as well. Both examples are after a restart. Created attachment 281755 [details]
void
updated .gif.
Created attachment 281756 [details]
enter
updated .gif.
Can someone please tell me what is causing this problem , or , what I can turn off to make it stop. I just cant work like this anymore. Hi Jason, I am sorry this is causing you problems with your workflow. I don't know what the underlying problem is or how to workaround it, other than just not folding code in the first place. |