Menu

can't enable vimplugin

General
gopal
2007-04-12
2013-06-03
  • gopal

    gopal - 2007-04-12

    I installed vimplugin, but can't enable it i.e. have no clue how to start using it. What all I did is:

    1. I installed cygwin, and checked that it has vim editor
    2. Installed vimplugin in eclipse 3.1, and restarted eclipse platform as required
    3. Within eclipse, I navigated to Window->Preferences->General->Editors->FileAssociation. As a trial, I clicked "*.java" in "File types". In "Associated editors", I see Vim (default) [which is gvim, not the cygwin vim. That is my current setting], Java Editor (locked by 'java source file' content type), and Text editor (locked by 'java source file' content type). Because I want to add "Vimplugin-editor" to the list of these "Associated editors", I clicked "add" button, which is beside this section. In the Editor selection, neither "Internal Editors" list, nor "External Editors" list have any item called "Vimplugin-editor" or anything that should sound like that. So how do I add this editor.

    Doubting that it must be a problem with eclipse 3.1, I repeated steps 2, and 3 on eclipse 3.2.2.
    (Although it is obvious by now, note that I am on Windows machine, XP pro in particular-if that has something to do with)

    So, eagerly waiting for your kind help, and for trying vimplugin.

    Best regards,
    Gopal

     
    • Bastl

      Bastl - 2007-04-12

      Check the Views under "PDE-Runtime" (Window->Show View->PDE Runtime) especially Plugin Registry and PDE Runtime Errorlog. See if vimplugin is registered successfully or if there were any error messages.

       
    • gopal

      gopal - 2007-04-16

      Hi,

      First of all, the problem got fixed. But I have no idea how.

      I earlier checked PDE-Runtime, plugin registry and error logs. The plugin registry showed that vimplugin wasn't activated. I found no errors related to vimplugin. But left that issue there at that time.

      But today, when I was just normally working, and clicked on a java program from a different project, I automatically am switched to "vim". Surprise. I don't know why. But anyway, at least I can work with it now.

      But the very first impressions I got: now the editor window is vi itself, and there is no eclipse there. So, I miss the features such as seeing warnings, errors on the left side as I write, refactoring by right clicking.

      Cheers,
      G

       
    • denyo

      denyo - 2009-05-01

      Hi

      I have everything installed properly, I can see the plugin in the settings etc. I can bring the Vim command view. But I am not sure about how to use it. Can anyone give me a starter here?

      thanks

       
    • denyo

      denyo - 2009-05-01

      Hi

      Here is my error message

      java.lang.ClassCastException: org.eclipse.ui.ide.FileStoreEditorInput cannot be cast to org.eclipse.ui.IFileEditorInput
          at org.vimplugin.editors.AbstractVimEditor.createPartControl(AbstractVimEditor.java:148)
          at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
          at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
          at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
          at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
          at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)
          at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
          at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
          at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
          at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
          at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
          at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635)
          at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1146)
          at org.eclipse.ui.internal.ide.EditorAreaDropAdapter.asyncDrop(EditorAreaDropAdapter.java:136)
          at org.eclipse.ui.internal.ide.EditorAreaDropAdapter.access$0(EditorAreaDropAdapter.java:87)
          at org.eclipse.ui.internal.ide.EditorAreaDropAdapter$1.run(EditorAreaDropAdapter.java:81)
          at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
          at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
          at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
          at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
          at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
          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:386)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

       

Log in to post a comment.

MongoDB Logo MongoDB