albert1017 / coffee-bytes

Automatically exported from code.google.com/p/coffee-bytes
0 stars 0 forks source link

Is Coffee Bytes usable with Eclipse 4.2? #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I installed Coffee Bytes in Eclipse 4.2 (STS 3.0 M3).

It appears that when Coffee Bytes is enabled, the editor screen gets scanned 
repeatedly.

The scanning was so bad that I could not perform triple clicks to select a 
line, because my finger response was not quick enough to prevent the next scan 
- that all my attempts at triple clicking turned them into double clicks.

Sometimes, the scanning is so quick that I can't even perform double click.

Does Coffee Bytes detect my custom folding by repeatedly scanning the editor 
panel? Rather than hooking into the editor? Is there a way to pare down the 
scanning frequency, say every 5 seconds (rather than every 100 ns which what 
Coffee Bytes appears to be doing).

I did not have this problem when I had Coffee Bytes active on Eclipse 3.7 (STS 
2.9.2).

Original issue reported on code.google.com by BlessedGeek on 24 Jul 2012 at 2:29

GoogleCodeExporter commented 8 years ago
Unfortunately, no. Things have changed pretty significantly since this plugin 
was written. To be honest, I'm surprised it worked OK in Eclipse 3.7; many 
people had pretty significant problems with it starting with 3.5 on.

The scanning of the plugin is triggered by the same events as the old Eclipse 
core projection engine.

This sounds like a backwards compatibility bug in the 4.2 version of the 
Eclipse editor, but given that they've only implemented a compatibility layer 
for old plugins, it's probably not going to get visited by them (I'm sure the 
core folding engine has been re-visited), and unfortunately this plugin is no 
longer maintained.

Original comment by rjlori...@realjenius.com on 24 Jul 2012 at 2:32

GoogleCodeExporter commented 8 years ago
I'm using Juno and have not ran into the scanning problem (No STS - pure 
eclipse)
I did have an assertion issue poping every 3-4 keyboard clicks etc. which I 
solved by disabling folding for elements I don't really need (Top Level Types, 
Normal Methods, Constructors, Getters and Setters, Main Methods, Inner Types, 
Static Initializers).

Since I use CB mostly for the User Define Regions - this works fine for me.

Original comment by ronki...@gmail.com on 4 Sep 2012 at 1:21

GoogleCodeExporter commented 8 years ago
it works fine in my eclipse juno 4.2, 
maybe you should Running eclipse once as administrator allowed it to pick up 
the plugin
i install this on this way :
D:\Workspace\ide\eclipse_dropins\codefolding\eclipse\plugins\com.cb.eclipse.fold
ing_1.0.6.jar
D:\Workspace\ide\eclipse\links\codefolding.link

Original comment by iceincoo...@gmail.com on 6 Mar 2013 at 9:26