mikolayek / coffee-bytes Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/coffee-bytes
Automatically exported from code.google.com/p/coffee-bytes
Going through eclipse log I've identified 3 NPEs thrown
by the plugin. I will report all 3 giving the stack
traces. I am sorry I am not able to give you also a
scenario :-).
Config: Eclipse 3.0; Coffee-Bytes 1.0.4c
Note: the method name is a typo ;-)
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.filterAndNormailze
Positions(ProjectionChangeReconciler.java:252)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconstructAnnotat
ions(ProjectionChangeReconciler.java:160)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconcile(Projecti
onChangeReconciler.java:138)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:156)
at
org.eclipse.jdt.internal.core.DeltaProcessor$2.run(DeltaProcessor.java:1470)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615
)
at
org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1465)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1332)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1290)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720
)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:739)
at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:109
8)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:88)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:129)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(Composit
eReconcilingStrategy.java:86)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(Java
CompositeReconcilingStrategy.java:96)
at
org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75)
at
org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:315)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:204)
Original issue reported on code.google.com by [email protected]
on 21 Oct 2006 at 8:40
Provide integration with Mylar's automatic code folding. See
http://eclipse.org/mylar
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:29
com.cb.eclipse.folding.calculation.ReconciliationException:
Unable to process positions
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconstructAnnotat
ions(ProjectionChangeReconciler.java:163)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconcile(Projecti
onChangeReconciler.java:138)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:156)
at
org.eclipse.jdt.internal.core.DeltaProcessor$2.run(DeltaProcessor.java:1470)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615
)
at
org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1465)
at
org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.
java:1314)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1293)
at
org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java
:1891)
at
org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessi
ngState.java:414)
at
org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.j
ava:283)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615
)
at
org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.
java:277)
at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges(Notificati
onManager.java:151)
at
org.eclipse.core.internal.resources.Workspace.broadcastChanges(Workspace.java:17
2)
at
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:900)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1682)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:744)
at
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2650)
at
org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2666)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceAttachmentBlock.updateProje
ctClasspath(SourceAttachmentBlock.java:680)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceAttachmentBlock.attachSourc
e(SourceAttachmentBlock.java:632)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.SourceAttachmentBlock$1.run(Sourc
eAttachmentBlock.java:612)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.jav
a:101)
Caused by: org.eclipse.jface.text.BadLocationException
at
org.eclipse.jface.text.AbstractLineTracker.getLineNumberOfOffset(AbstractLineTra
cker.java:155)
at
org.eclipse.jface.text.AbstractDocument.getLineOfOffset(AbstractDocument.java:78
1)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.normalizePosition(
ProjectionChangeReconciler.java:290)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.filterAndNormailze
Positions(ProjectionChangeReconciler.java:257)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconstructAnnotat
ions(ProjectionChangeReconciler.java:160)
... 25 more
Original issue reported on code.google.com by [email protected]
on 21 Oct 2006 at 8:42
It would be nice if the plugin would support saving the current folding
state of a sourcefile on close.
If the file is reopened the saved folding-state should be restored.
I dont mean the configurable "initially colapse" folding!
Is this feature actually realizable?
Original issue reported on code.google.com by [email protected]
on 14 Sep 2007 at 6:23
What steps will reproduce the problem?
1. switch on coffee-bytes folding in preferences
2.
3.
What is the expected output? What do you see instead?
Error Log shows an exception:
java.lang.ClassNotFoundException:
com.cb.eclipse.folding.java.preferences.EnhancedFoldingPreferenceBlock
...
What version of the product are you using? On what operating system?
Plugin: 1.0.6
Eclipse: 3.2.0
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2007 at 3:58
Quote: "Repeat of existing bug but this one is fairly important!
If two user-defined regions are adjacent with nothing
between them the folding will _start_ at the _end_ of
the first region and stop and the beginning of the
_second_!"
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:39
What steps will reproduce the problem?
1. create an if or else or try catch statement.
2. save.
What is the expected output? What do you see instead?
I would like to see the if statements and blocks defined above to be
folded, however, they are not.
What version of the product are you using? On what operating system?
1.0.6
Please provide any additional information below.
Thanks for an AWESOME plugin.
Original issue reported on code.google.com by [email protected]
on 18 Nov 2008 at 5:23
Quote: "1. Open a .java source file and enter a comment line
like: // Comment with invalid unicode char: \uxyz
2. Without correcting the invalid unicode character,
save the file and close it,
3. Reopen the file
4. The following error message is displayed:.
(In order to edit the .java file you have to disable
Coffee Bytes Java Folding)
Unable to create this part due to an internal error.
Reason for the failure: An unexpected exception was thrown.
Details:
java.lang.NullPointerException
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.filterAndNorm
alizePositions(ProjectionChangeReconciler.java:252)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconstructAn
notations(ProjectionChangeReconciler.java:160)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.initialize(Pr
ojectionChangeReconciler.java:96)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider.initialize(Enha
ncedJavaFoldingStructureProvider.java:114)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ProjectionListe
ner.projectionEnabled(EnhancedJavaFoldingStructureProvider.java:172)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.fireProjectionEnabled(
ProjectionViewer.java:480)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.enableProjection(Proje
ctionViewer.java:528)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.setVisibleDocument(JavaS
ourceViewer.java:602)
at [...]"
RJL: Probably something simple and stupid the code is doing. Should
investigate.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:27
Comments (line, javadoc, block) at the end of a
compilation unit (before or after the last }) that are
past all other java elements are not picked up by the
comment folding strategies.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:35
In this class Folding plug-in folds
//[region:end] XMLLoader handlers
//
region, instead of //[region] - //[region:end]
tested with 1.0.5.a version
With many regions works incorrect too
//-- Source file -------------------------------------
package ru.cs.amonitor.xml;
import java.util.*;
/**
* Copyright by ComplexSystems.ru
* @author Semenov Dmitry
*/
public class PicSchemesBean {
private Hashtable shemes = new Hashtable();
//[region] XMLLoader handlers
public void addDps(PicSchemeBean sheme) {
addDiscretePictureSheme(sheme);
}
public void addDiscretePictureSheme
(PicSchemeBean sheme) {
this.shemes.put(sheme.name,
sheme);
}
//[region:end] XMLLoader handlers
//
public PicSchemeBean getSheme(String name)
{
return (PicSchemeBean)
this.shemes.get(name);
}
}
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:34
I just open a particular file in java editor.
Tried to disactivate all folding options : still issued.
java.lang.StringIndexOutOfBoundsException: String index out of range: 49
at java.lang.String.charAt(String.java:658)
at com.cb.eclipse.folding.java.calculation.UserDefinedRegionHelper.isSentinel(UserDefinedRegionHelper.java:53)
at com.cb.eclipse.folding.java.calculation.UserDefinedRegionHelper.isOpeningSentinel(UserDefinedRegionHelper.java:29)
at com.cb.eclipse.folding.java.calculation.CommentHelper.isUserDefinedSentinel(CommentHelper.java:90)
at com.cb.eclipse.folding.java.calculation.CommentHelper.handle(CommentHelper.java:67)
at com.cb.eclipse.folding.java.calculation.AbstractBlockStrategy.handle(AbstractBlockStrategy.java:93)
at com.cb.eclipse.folding.java.calculation.CompositeCalculationStrategy.handle(CompositeCalculationStrategy.java:24)
at com.cb.eclipse.folding.java.calculation.CommentPrefixStrategy.handle(CommentPrefixStrategy.java:64)
at com.cb.eclipse.folding.java.calculation.JavaProjectionCalculator.computeProjections(JavaProjectionCalculator.java:230)
at com.cb.eclipse.folding.java.calculation.JavaProjectionCalculator.findAnnotations(JavaProjectionCalculator.java:96)
at com.cb.eclipse.folding.java.calculation.JavaProjectionCalculator.findAnnotations(JavaProjectionCalculator.java:108)
at com.cb.eclipse.folding.java.calculation.JavaProjectionCalculator.findAnnotations(JavaProjectionCalculator.java:108)
at com.cb.eclipse.folding.java.calculation.JavaProjectionCalculator.findAnnotations(JavaProjectionCalculator.java:68)
at com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconstructAnnotations(ProjectionChangeReconciler.java:173)
at com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.initialize(ProjectionChangeReconciler.java:99)
at com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider.initialize(EnhancedJavaFoldingStructureProvider.java:115)
at com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ProjectionListener.projectionEnabled(EnhancedJavaFoldingStructureProvider.java:201)
at org.eclipse.jface.text.source.projection.ProjectionViewer.fireProjectionEnabled(ProjectionViewer.java:487)
at org.eclipse.jface.text.source.projection.ProjectionViewer.enableProjection(ProjectionViewer.java:535)
at org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.setVisibleDocument(JavaSourceViewer.java:676)
at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2938)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:642)
at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:374)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:590)
at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:4047)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3575)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:447)
at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPartControl(JavaEditor.java:3119)
at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.createPartControl(CompilationUnitEditor.java:1505)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:142)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:323)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:877)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:857)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:119)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:333)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:254)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:949)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:633)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:735)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:706)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:700)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:685)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:90)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4688)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:205)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:80)
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:576)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:543)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:619)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:331)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1046)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3112)
at org.eclipse.ui.internal.WorkbenchPage.access$21(WorkbenchPage.java:3034)
at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:3016)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3012)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2976)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2967)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:534)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:493)
at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.execute(OpenResourceHandler.java:129)
at org.eclipse.ui.internal.ide.handlers.OpenResourceHandler.run(OpenResourceHandler.java:181)
at org.eclipse.ui.internal.handlers.ActionDelegateHandlerProxy.execute(ActionDelegateHandlerProxy.java:295)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:285)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:504)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:555)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:376)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:322)
at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:84)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1262)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1056)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1108)
at org.eclipse.swt.widgets.Shell.sendKeyEvent(Shell.java:1384)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1104)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1525)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4723)
at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:344)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4611)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4977)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2549)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Original issue reported on code.google.com by damien.cuvillier
on 3 Sep 2014 at 3:22
From
https://sourceforge.net/tracker/index.php?func=detail&aid=1205377&group_id=11166
8&atid=673257
Quote: "It would be nice if there were more options other than
expand all and enable folding? Perhaps:
- Fold All
- Fold All Comments
- Fold All Methods
Although an argument could be made for having
corresponding expand options. Maybe you could customise
the pop-up in some plugin preferences. I'm not up on
plugin design so I've no idea if any of this is
possible. Thanks for a great plugin,
J,"
RJL: This is part of the Eclipse 3.1 API I believe. There is a new API we
need to implement to support this; should be investigated for next major
release.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:06
Quote: "Block based folding can start at the wrong point when
given a code block with next line braces, like this:
[-] - folding icon
<signature>
[-] {
}
when it should optimally be like this:
[-] <signature>
{
}"
RJL: There are several problems with code folding when using an expressed
block like this, rather than a compressed block (with the { trailing
directly after the method signature). We need to be more assertive in our
parsing to consider this case (it will involve moving away from the scanner
exclusively).
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:31
What steps will reproduce the problem?
Select "Coffee Bytes Java Folding" from Windows -> Preference, Java ->
Editor -> Folding.
What is the expected output? What do you see instead?
I get the following message:
Plug-in "com.cb.eclipse.folding" was unable to istantiate class
"com.cb.eclipse.folding.java.preferences.EnhancedFoldingPreferenceBlock"
What version of the product are you using? On what operating system?
Coffee Bytes 1.0.6 on Eclipse 3.1.2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 Oct 2006 at 7:33
What steps will reproduce the problem?
1. switch on coffee-bytes folding in preferences
2.
3.
What is the expected output? What do you see instead?
Error Log shows an exception:
java.lang.ClassNotFoundException:
com.cb.eclipse.folding.java.preferences.EnhancedFoldingPreferenceBlock
...
What version of the product are you using? On what operating system?
Plugin: 1.0.6
Eclipse: 3.2.0
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2007 at 3:58
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
Eclipse 3.0
Coffee-Bytes: 1.0.5a
Scenario: create a new class (see below exacty how it
looks), declare a new method and after the left
paranthesis a little pause is made. At this moment the
whole source is collapsed in the beginning comment.
The bug is annoying as there is no way to go back
(later I have discovered that presing Undo, Redo brings
you back on the typing position) to the point you are
typing being required to close and reopen the source in
the editor (the saved version is correct).
Template:
/*
* $Id$
*/
package net.noco.dtogen.util;
/**
* Class usage XXX
*
* @version $Revision$
*/
public class Test {
public static final boolean isTrue(
}
results in
/*[...]
public class Test {[...]
public static final void test([...]
}
In the above scenario: another settings: Advanced:
Minimum Number of Lines 2, checked method, control
structures, types.
After checking comments, in the same scenario the
source looks:
/*[...]
}
Original issue reported on code.google.com by [email protected]
on 21 Oct 2006 at 8:43
NPE in ProjectionChangeReconciler.normalizePosition Private: (?)
No
Same conf as for previous bug: Eclipse 3.0,
Coffee-Bytes 1.0.4c
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.normalizePosition(
ProjectionChangeReconciler.java:297)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.filterAndNormailze
Positions(ProjectionChangeReconciler.java:257)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconstructAnnotat
ions(ProjectionChangeReconciler.java:160)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconcile(Projecti
onChangeReconciler.java:138)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:156)
at
org.eclipse.jdt.internal.core.DeltaProcessor$2.run(DeltaProcessor.java:1470)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615
)
at
org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1465)
at
org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.
java:1314)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1289)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720
)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:739)
at
org.eclipse.jdt.internal.core.CompilationUnit.discardWorkingCopy(CompilationUnit
.java:414)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.disposeFi
leInfo(CompilationUnitDocumentProvider.java:872)
at
org.eclipse.ui.editors.text.TextFileDocumentProvider.disconnect(TextFileDocument
Provider.java:582)
at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:
2856)
at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecorat
edTextEditor.java:1073)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.internalDoSetInput(JavaEditor.
java:2794)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSetInput(JavaEditor.java:279
0)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSetInput(Compilat
ionUnitEditor.java:1496)
at
org.eclipse.ui.texteditor.AbstractTextEditor.setInput(AbstractTextEditor.java:28
94)
at
org.eclipse.search.internal.ui.text.EditorOpener.showInEditor(EditorOpener.java:
96)
at
org.eclipse.search.internal.ui.text.EditorOpener.showWithReuse(EditorOpener.java
:47)
at
org.eclipse.search.internal.ui.text.EditorOpener.open(EditorOpener.java:35)
at
org.eclipse.search.internal.ui.text.FileSearchPage.showMatch(FileSearchPage.java
:111)
at
org.eclipse.search.ui.text.AbstractTextSearchViewPage$9.run(AbstractTextSearchVi
ewPage.java:752)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615
)
at
org.eclipse.core.runtime.Platform.run(Platform.java:747)
Original issue reported on code.google.com by [email protected]
on 21 Oct 2006 at 8:41
From
https://sourceforge.net/tracker/index.php?func=detail&aid=1511644&group_id=11166
8&atid=673257
Quoted Entry: "it would be very cool if CoffeeBytes could be able to
work in phpeclipse, in order to give a better code
folding than the default editor"
RJL: There are several other languages with enhanced editing capabilities
in Eclipse. We should work on the cross-team issues to begin packaging
folding support for these other platforms.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:01
Could I propose some improvement regarding 'Last Line
Filtering'?
In my java code I have both types of code:
First:
try {
//
if(condition1) {
//
} else if(condition2) {
//
} else {
//
}
//
try {
//
} catch( Exception x) {
//
}finally {
//
}
} catch (Exception1 e) {
//
} catch (Exception2 e) {
//
} catch (Exception3 e) {
//
}
Second:
try {
//
if(condition1) {
//
}
//
if(condition2) {
//
}
//
try {
//
} catch( Exception x) {
//
}
} catch (Exception1 e) {
//
}
If I disable 'Last Line Filtering' options in folding
preferences then lines with 'else if', 'else' and
'catch' are folded in first example, and closing
brackets are folded in both examples.
If I enable 'Last Line Filtering' options in folding
preferences then lines with 'else if', 'else' and
'catch' aren't folded in first example, and closing
brackets aren't folded in both examples.
Is it possible to fold last line only if there is no
other statement after end of folding block? Like this:
First:
try {
//
if(condition1) { [...]
} else if(condition2) { [...]
} else { [...]
//
try { [...]
} catch( Exception x) { [...]
}finally { [...]
} catch (Exception1 e) { [...]
} catch (Exception2 e) { [...]
} catch (Exception3 e) { [...]
Second:
try {
//
if(condition1) { [...]
//
if(condition2) { [...]
//
try { [...]
} catch( Exception x) { [...]
} catch (Exception1 e) { [...]
So lines with 'else if', 'else' and 'catch' won't be
folded, and closing brackets without other stetements
will be folded.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:43
Quote: "When you type and the line is longer than the width of
the editor window, the editor scrolls horizontally
correctly, but as soon as you stop typing, it scrolls
back to the start of the line eventhough the caret is
outside the visible area then. This does not happen
always, but most of the time. It is very annoying,
because you almost do not see what you type anymore."
RJL: I've seen this a lot - it has something to do with the way we push our
projections back in to the editor I think; it isn't nearly as prevalent on
the base plug-in.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:28
From
https://sourceforge.net/tracker/index.php?func=detail&aid=1210254&group_id=11166
8&atid=673257
Quote: "I really like the way I can fold up get & set methods.
It would be great if I also had the option to fold up
any get & set method comments by default (ideally in
the same fold), while leaving other comments unfolded."
RJL: Having all getter/setter meta-information fold would be ideal, as it
would minimize the amount of property crud you have to wade through on
beans to get to the business logic.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:04
jEdit has support for informing the user of the number
of lines composed by a particular region. (currently at
the same location where the [..] is in Eclipse) It
would be nice for the plug-in to provide the same.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:49
What steps will reproduce the problem?
1. Write an anonymous class, implementing a single-method interface, e.g.,
Runnable.
2. Stare at its code, find it slightly hard to read.
3. Wish Java had closures.
What is the expected output? What do you see instead?
Expected:
SwingUtilities.invokeLater({frame.setVisible(true);});
Actual:
SwingUtilities.invokeLater(new Runnable()
{
public void run()
{
frame.setVisible(true);
}
});
What version of the product are you using? On what operating system?
None, I'm reading the website.
Please provide any additional information below.
This is a planned feature for Eclipse and for IDEA - if coffee-bytes could
do it first, I'd use coffee-bytes. Other code folding I'm not so fond of,
as I like to see the code I'm working with (but not the excess).
Original issue reported on code.google.com by [email protected]
on 25 Oct 2006 at 10:13
Quote: "Start: {{{
End: }}}
Currently when you fold you must always add a comment
on to the fold line in order to say what is in the fold. eg
//{{{ define imports
import com.blar.*;
//}}}
which shows as:
//{{{ define imports
but
//{{{
import com.blar.*;
//}}}
just appears as
//{{{
In the cases that no extra comment is supplied, can we
have the 1st line of the fold as a surrogate comment. eg
//{{{
public Object foo(int p1, int p2)
{
return newObject();
}
//}}}
will appear as
//{{{ public Object foo(int p1, int p2)
This way it's easier to navigate code for a whole class eg
//{{{ imports
public class foo
{
//{{{ static vars
//{{{ Constructor
//{{{ public foo()
//{{{ private blar()
}
I think I am the only person here who does not use jEdit!
The company I work for has written it's own folding editor
(which is more like notepad than anything else) and
many people here are reluncant to switch to Eclipse
because it dose not support folding 'properly'.
Your plug-in is the closest I seen so far.
Keep up the good work.
Cheers,
David."
RJL: User defined regions need a lot of work - this is one key point.
Eclipse 3.1 added support for managing the area of the folding region that
should be in the preview box - we should harness that support for this
enhancement.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:09
From:
https://sourceforge.net/tracker/index.php?func=detail&aid=1057055&group_id=11166
8&atid=673257
Quote:
"It would be nice to have simpler way of creating user
definied folding regions. For example - I would like to
select some region of text and then, after pressing
keyboard shortcut, have these start and end identifiers
added automaticly. It is some way similar to manner in
which multiline commenting acts. Opposite activity -
automatic deletion of start and end identifiers from
selected region - should also be possible.
Moreover it would be also nice to mix structure selection
(Ctrl+Shift+Up / Down) with user definied folding
regions: folding identifiers should be recognized by
structure selection as standard java-elements. In the
other words start and end identifiers shouldn't be treated
as comments but as proper elements like if-else clause or
entire method body.
Best Regards,
dLechique"
RJL: I think the general idea is that it would be nice to be able to fold
regions away when browsing code, even without the need to change it. There
is nothing to say we can't support this, at least transiently; there is
some difficulty with maintaining the fold location after editor changes are
made, however.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:14
From:
https://sourceforge.net/tracker/index.php?func=detail&aid=1024033&group_id=11166
8&atid=673257
User defined folding regions need serious work to become more useful in the
Coffee-Bytes plug-in. The ability to maintain a heterogeneous set of
different regions based on some sort of keyword indication mechanism, seems
to be the most popular request.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:17
The update site http://eclipse.coffee-bytes.com/update-site/ is not
accessible. unavailable
Original issue reported on code.google.com by [email protected]
on 24 Oct 2006 at 2:55
What steps will reproduce the problem?
- enable user defined regions
- create a cooment of the form
/* [start] */
lalal
lalal
lalal
/* [end] */
What is the expected output? What do you see instead?
I think it would be cool if you could fold these too!
Original issue reported on code.google.com by [email protected]
on 30 Jul 2007 at 7:11
What steps will reproduce the problem?
1.
2.
3.
Even if I kept an eye on Error Log ViewPart I can't catch the moment when
exception has occured. I can say that in the moment exception rised I
did't edit any file. I supposed it's connected with save or build...
I searched the defects list for NullPointerException and I found a similar
report, accepted (not resolved) in 2004. The method where error occurs is
the same but line is different (at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.filterAndNorm
alizePositions(ProjectionChangeReconciler.java:272))
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Eclipse IDE 3.2.1, Coffee Bytes Code Folding 1.0.6, WinXP SP2, Mylar 0.8.0
Please provide any additional information below.
ENTRY org.eclipse.jdt.core 4 2 2006-10-26 13:28:43.974
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jdt.core".
!STACK 0
java.lang.NullPointerException
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.normalizePosi
tion(ProjectionChangeReconciler.java:307)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.filterAndNorm
alizePositions(ProjectionChangeReconciler.java:272)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconstructAn
notations(ProjectionChangeReconciler.java:175)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconcile(Pro
jectionChangeReconciler.java:148)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:158)
at
org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1458)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1448)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1314)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1272)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:760
)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:779)
at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:112
2)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcil
ingStrategy.java:97)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:82)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(J
avaReconcilingStrategy.java:172)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(C
ompositeReconcilingStrategy.java:114)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconci
le(JavaCompositeReconcilingStrategy.java:120)
at
org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.j
ava:103)
at
org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.ja
va:331)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:170)
!ENTRY org.eclipse.jdt.core 4 4 2006-10-26 13:28:43.984
!MESSAGE Exception occurred in listener of Java element change notification
!STACK 0
java.lang.NullPointerException
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.normalizePosi
tion(ProjectionChangeReconciler.java:307)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.filterAndNorm
alizePositions(ProjectionChangeReconciler.java:272)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconstructAn
notations(ProjectionChangeReconciler.java:175)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconcile(Pro
jectionChangeReconciler.java:148)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:158)
at
org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1458)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1448)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1314)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1272)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:760
)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:779)
at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:112
2)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcil
ingStrategy.java:97)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:82)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.initialReconcile(J
avaReconcilingStrategy.java:172)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.initialReconcile(C
ompositeReconcilingStrategy.java:114)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.initialReconci
le(JavaCompositeReconcilingStrategy.java:120)
at
org.eclipse.jface.text.reconciler.MonoReconciler.initialProcess(MonoReconciler.j
ava:103)
at
org.eclipse.jdt.internal.ui.text.JavaReconciler.initialProcess(JavaReconciler.ja
va:331)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:170)
Original issue reported on code.google.com by [email protected]
on 28 Oct 2006 at 2:28
Quote: "The default Eclipse folder will show the first JavaDoc
sentence in a collapsed JavaDoc comment. It would be
great if your plugin did the same; I find it very helpful.
Thanks! Your plug-in may save me having to write my own!!!"
RJL: This is an Eclipse 3.1 introduced feature. We need to introduce our
own position objects to support this.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:25
What steps will reproduce the problem?
1. Can't access any of the preferences because of menu changes in 3.3
What is the expected output? What do you see instead?
I don't see any preferences.
What version of the product are you using? On what operating system?
Eclipse 3.3
Coffee-Bytes 1.0.6
Original issue reported on code.google.com by [email protected]
on 16 Aug 2007 at 3:18
A single line javadoc comment will prevent the editor
from opening up with a "Failed to create part" error
message dialog. Example:
/** This is a comment */
private string yada yada yada
The log files says:
!ENTRY org.eclipse.core.runtime 4 2 Oct 11, 2004
10:05:32.360
!MESSAGE Problems occurred when invoking code from
plug-in: "org.eclipse.core.runtime".
!STACK 0
java.lang.ClassCastException:
org.eclipse.ui.internal.EditorPane$1$ErrorEditorPart at
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.activeJavaEditorChanged(ASTPr
ovider.java:218)
at
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.access$0(ASTProvider.java:213
)
at
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$ActivationListener.partOpened
(ASTProvider.java:100)
at
org.eclipse.ui.internal.PartListenerList2$5.run(PartListenerList2.java:101)
...
This is using 1.0.5a version of the plugin.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:32
What steps will reproduce the problem?
Saving anyJava file results in an NPE on Eclipse 3.3 which extremely slows
down Eclipse
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Coffee Bytes Code Folding 1.0.6, Eclipse 3.3
Please provide any additional information below.
Two exceptions are written to the error log:
java.lang.NullPointerException
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.isValidEvent(EnhancedJavaFoldingStructureProvider.java:172)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:152)
at
org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1552)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1542)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1395)
at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1350)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:761
)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:780)
at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:116
9)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcil
ingStrategy.java:101)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:82)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:149)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(Composit
eReconcilingStrategy.java:86)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(Java
CompositeReconcilingStrategy.java:96)
at
org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75)
at
org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:378)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:204)
java.lang.NullPointerException
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.isValidEvent(EnhancedJavaFoldingStructureProvider.java:172)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:152)
at
org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1552)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1542)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1395)
at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1350)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:761
)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:780)
at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:116
9)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcil
ingStrategy.java:101)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:82)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:149)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(Composit
eReconcilingStrategy.java:86)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(Java
CompositeReconcilingStrategy.java:96)
at
org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75)
at
org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:378)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:204)
Original issue reported on code.google.com by [email protected]
on 9 Oct 2007 at 11:30
Quote:
"When using a user-defined region with content between
it (for some reason it works when there's no code in
there) that is directly before another user-defined region,
the start tag does not enable folding. Instead, the end
tag does, and it goes to the next start tag.
For instance, using defaults, this...
// [start]
public String name;
// [end]
// [start]
public String address;
// [end]
Will collapse to this...
// [start]
public String name;
// [end]...
public String address;
// [end]
I've also had a problem with nested user-defined regions
when the internal region contains code; but this isn't a
big deal because I rarely use nested regions.
The former problem is a show-stopper for me getting my
team setup with CB, tho. If the regions don't act
correctly, the'll just cause problems and make things
harder to read."
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:40
Some editors, like jEdit, have support for folding based on indentation.
We should investigate offering that same support in Eclipse editors (the
biggest problem will be trying to hijack proprietary source viewers to
offer instead a projection viewer).
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:19
What steps will reproduce the problem?
1. In Eclipse editor window you have a text line that wider than the
window's wide. You scroll the window to right and place cursor at any
position whose number is larger the window's wide. You type any symbol and
windows scrolls completely back to left and the cursor becomes invisible,
beside of the right edge of the window though it remains on the editing
position.
What is the expected output? What do you see instead?
It is expected that the window stays on the same scrolling postion but not
"jumps" to the left side.
What version of the product are you using? On what operating system?
Coffee-Bytes Code Folding 1.0.6 on Eclipse Platform 3.4.1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 15 Jan 2009 at 10:46
What steps will reproduce the problem?
1. Code folding on any comment
What is the expected output? What do you see instead?
To be able to show the first sentence of the comment, rather than just /**
What version of the product are you using? On what operating system?
1.0.6, Windows.
Please provide any additional information below.
Patch.
Original issue reported on code.google.com by [email protected]
on 9 Nov 2006 at 8:30
Quote: "Hi
I have used jEdit for quite a while and I very much
liked the fact that the folding would fold on the
method declaration and not on the first bracket. In my
mind this gives a lot more cleaner look to my source
file as I don't have a redundent curly bracket being
displayed as I do now in eclipse. I would love an
option in your plugin to allow me to do something
similar. I have attached a picture of what I mean.
Many thanks.
Lee"
Coffee-Bytes should support this to some degree. Need to investigate
exactly what is being asked for.
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:51
What steps will reproduce the problem?
1. open two files at once soas to have two tabs open
2. contract some if statements in file1
3. use <alt right-arrow> to switch to the other tab
What is the expected output? What do you see instead?
i expect to see the folds as i left them.
the 'if's that were folded are now unfolded.
What version of the product are you using? On what operating system?
1.0.6
ubnunt linux
Please provide any additional information below.
for that matter, it would be nice that if I close a file and reopen it, it
would restore the folds as they were.
Thank you very much for this plugin as it helps a ton for looking at other
people's code.
Original issue reported on code.google.com by [email protected]
on 3 Feb 2010 at 4:34
com.cb.eclipse.folding.java.calculation.ReconciliationException: Unable to
process positions
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconstructAn
notations(ProjectionChangeReconciler.java:201)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconcile(Pro
jectionChangeReconciler.java:151)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:165)
at
org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1458)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1448)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1314)
at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1272)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:760
)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:779)
at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:112
2)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcil
ingStrategy.java:97)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:82)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:145)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(Composit
eReconcilingStrategy.java:86)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(Java
CompositeReconcilingStrategy.java:94)
at
org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75)
at
org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:342)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:204)
Caused by: org.eclipse.jface.text.BadLocationException
at org.eclipse.jface.text.TreeLineTracker.fail(TreeLineTracker.java:1072)
at
org.eclipse.jface.text.TreeLineTracker.lineOfOffset(TreeLineTracker.java:290)
at
org.eclipse.jface.text.TreeLineTracker.getLineNumberOfOffset(TreeLineTracker.jav
a:1154)
at
org.eclipse.jface.text.AbstractLineTracker.getLineNumberOfOffset(AbstractLineTra
cker.java:161)
at
org.eclipse.jface.text.AbstractDocument.getLineOfOffset(AbstractDocument.java:84
1)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.normalizePosi
tion(ProjectionChangeReconciler.java:341)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.filterAndNorm
alizePositions(ProjectionChangeReconciler.java:295)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconstructAn
notations(ProjectionChangeReconciler.java:198)
... 19 more
May be a different the same as Issue 25
(http://code.google.com/p/coffee-bytes/issues/detail?id=25)
Original issue reported on code.google.com by [email protected]
on 21 Oct 2006 at 9:00
Quote:
"Trying to open a java file (see included file) using
java editor, it seems code folding plug-in generate a
NPE (see below) and at end, the file can't be open at all.
Changing code folding in java/editor to the one from
eclipse and allow to reopen the file.
pb seem to come from line 55 (invalid java code).
Fixing the error fix the NPE too.
log:
!ENTRY org.eclipse.core.runtime 4 2 nov. 18, 2004
15:16:10.250
!MESSAGE Problems occurred when invoking code from
plug-in: "org.eclipse.core.runtime".
!STACK 0
java.lang.NullPointerException
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.filterAndNorm
alizePositions(ProjectionChangeReconciler.java:252)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconstructAn
notations(ProjectionChangeReconciler.java:160)
[...]"
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:38
Attachments:
Don't know how to reproduce, but stack should be investigated.
Quote:
"I was opening the Preferences Window and Eclipse crashed
Here is the info taken from the log:
!ENTRY org.eclipse.jdt.core 4 4 feb 16, 2005 09:06:42.76
!MESSAGE Exception occurred in listener of Java element
change notification
!STACK 0
java.lang.NullPointerException
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.getCurrentAnn
otations(ProjectionChangeReconciler.java:232)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconcile(Pro
jectionChangeReconciler.java:137)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:156)
at
org.eclipse.jdt.internal.core.DeltaProcessor$2.run(DeltaProcessor.java:1427)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616
)
at [...]"
Original issue reported on code.google.com by [email protected]
on 20 Oct 2006 at 9:36
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.