From: Edward L. F. <ed...@gm...> - 2007-10-19 13:49:51
|
Hi Pluginers, Sorry for my absence this week. As I was struggling with my graduating projects and nearly had no time processing my E-mails. I just briefly looked at our current project and discovered these problems: 1. Doesn't work properly. A few days ago, some work-around to the multiple tabs issue had been added to the code base. But after merged those changes, my Eclipse always throws out two instances of this exception when I try to open a file: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.SWT.error(SWT.java:3268) at org.eclipse.swt.widgets.Widget.error(Widget.java:434) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:373) at org.eclipse.swt.widgets.Widget.getData(Widget.java:460) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.getTab(DefaultTabFolder.java:176) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.getItems(DefaultTabFolder.java:228) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.findItem(AbstractTabFolder.java:169) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.getTab(PresentablePartFolder.java:373) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.childPropertyChanged(PresentablePartFolder.java:301) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.access$2(PresentablePartFolder.java:300) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder$3.propertyChanged(PresentablePartFolder.java:81) at org.eclipse.ui.internal.presentations.PresentablePart.firePropertyChange(PresentablePart.java:112) at org.eclipse.ui.internal.presentations.PresentablePart$1.propertyChanged(PresentablePart.java:88) at org.eclipse.ui.internal.PartPane.firePropertyChange(PartPane.java:594) at org.eclipse.ui.internal.PartPane.propertyChanged(PartPane.java:599) at org.eclipse.ui.internal.WorkbenchPartReference.immediateFirePropertyChange(WorkbenchPartReference.java:542) at org.eclipse.ui.internal.WorkbenchPartReference.firePropertyChange(WorkbenchPartReference.java:535) at org.eclipse.ui.internal.WorkbenchPartReference.deferEvents(WorkbenchPartReference.java:194) at org.eclipse.ui.internal.WorkbenchPartReference.refreshFromPart(WorkbenchPartReference.java:299) at org.eclipse.ui.internal.WorkbenchPartReference.partPropertyChanged(WorkbenchPartReference.java:271) at org.eclipse.ui.internal.EditorReference.partPropertyChanged(EditorReference.java:443) at org.eclipse.ui.internal.WorkbenchPartReference$2.propertyChanged(WorkbenchPartReference.java:162) at org.eclipse.ui.part.WorkbenchPart.firePropertyChange(WorkbenchPart.java:118) at org.eclipse.ui.texteditor.AbstractTextEditor.firePropertyChange(AbstractTextEditor.java:5005) at org.eclipse.ui.part.WorkbenchPart.internalSetContentDescription(WorkbenchPart.java:438) at org.eclipse.ui.part.WorkbenchPart.setContentDescription(WorkbenchPart.java:424) at org.eclipse.ui.part.EditorPart.setContentDescription(EditorPart.java:256) at org.vimplugin.editors.AbstractVimEditor.setTitleTo(AbstractVimEditor.java:374) at org.vimplugin.VimConnection$6.handleEvent(VimConnection.java:219) at org.vimplugin.VimConnection.run(VimConnection.java:119) at java.lang.Thread.run(Thread.java:619) I don't have enough time debugging this problem so I just simply report this to you. I hope you can find out what was happening. I'll come back to join your work later as soon as possible. 2. Still open empty new tabs when double click a file inside Eclipse. Sadly, I found that the issue I reported to eeedit still exists in the latest version of vimplugin. It still opens a new empty tab when I double click a file inside Eclipse. Fortunately, the menu item "Open in new Vim" really works properly. Although a bit too slow to use because it needs to start multiple instances of GVim. I'm thinking that is it possible to open all files in one tab inside Eclipse? In another word, is it possible to tell Eclipse not to open a new tab but re-use the existed tab when we try to open other file? If this is possible, I think it'll also be easy to tell GVim to switch to the corresponding buffer when we click opened files in the files view. 3. Lacking of command line tool chain supports. My Linux box only has 504 MB RAM. So starting two instances of Eclipse is nearly impossible for me. Personally I'd like to have a command line interface building system rather than compiling the project inside Eclipse every time. And, Eclipse always put the compiled files inside the directory "bin", so in order to make the plugin work, I have to manually move the compiled result out of bin to its parent directory. I think such work should be done by the build system, no matter it's command line based or IDE. Any way, it's a great thing that we two projects can be merged into one. I'm looking forward to join you soon. Bless my current work. Cheers, L. F. |