|
From: Daniel K. <d...@do...> - 2007-05-02 16:38:23
|
Hi there! I'm a hardcore-Vim-user for myself (80x25 virtual terminal, of course), but for work I have to use Eclipse as an IDE; and in fact, the Eclipse-Java-editor offers some nice features useful when writing Java (and so does the XML one, for instance). At work we also use the Eclipse code formatter to ensure uniform code-format, simply Ctrl+Shift+F. However, I'm missing Vim-style editing; today I found out that there's vimplugin, aiming at providing a Vim editor inside Eclipse. I didn't yet manage to get it work, so I have never seen it live; but as far as I found out, it is somewhat embedding of a real vim at the editor's place, isn't it? So you don't have native Eclipse-editor features like the ones I described above, right? What I think of is that it may be possible to extend the real Eclpise-Java-editor to accept vim-commands? I don't know much of Eclipse-plugins yet, but this seems somewhat probably to me. You would need to implement the Vim commands yourself, though. But if this is possible (and not yet covered by vimplugin), I'd really like to implement this -- either as part of vimplugin if you think this would make sense or as separate project, maybe with some help and experience from you? Hope to hear your opinions, yours, Daniel -- Got two Dear-Daniel-Instant Messages by MSN, associate ICQ with stress -- so please use good, old E-MAIL! |
|
From: David F. <fis...@ia...> - 2007-05-02 20:33:38
|
> -----Original Message----- > From: vim...@li... > [mailto:vim...@li...] On > Behalf Of Daniel Kraft > Sent: Wednesday, May 02, 2007 2:38 PM > To: vim...@li... > Subject: [vimplugin_eclipse] [vimplugin-devel] Vim-style > editing in Eclipse-editor > > Hi there! > > I'm a hardcore-Vim-user for myself (80x25 virtual terminal, > of course), but for work I have to use Eclipse as an IDE; and > in fact, the Eclipse-Java-editor offers some nice features > useful when writing Java (and so does the XML one, for instance). > > At work we also use the Eclipse code formatter to ensure > uniform code-format, simply Ctrl+Shift+F. > > However, I'm missing Vim-style editing; today I found out > that there's vimplugin, aiming at providing a Vim editor > inside Eclipse. I didn't yet manage to get it work, so I > have never seen it live; but as far as I found out, it is > somewhat embedding of a real vim at the editor's place, isn't > it? So you don't have native Eclipse-editor features like > the ones I described above, right? > > What I think of is that it may be possible to extend the real > Eclpise-Java-editor to accept vim-commands? I don't know > much of Eclipse-plugins yet, but this seems somewhat probably > to me. You would need to implement the Vim commands > yourself, though. But if this is possible (and not yet > covered by vimplugin), I'd really like to implement this -- > either as part of vimplugin if you think this would make > sense or as separate project, maybe with some help and > experience from you? I am not too interested in extending the features of the existing Eclipse editor. But I am interested in making the editor in Eclipse flip back and forth between the native one and the Vim one. That way you hit a button and edit the text using Vim. Then hit a button to use the native Eclipse features. I think that would be more useful than trying to rebuild Vim's features inside of Eclipse. My $.02. Dave |
|
From: Daniel K. <d...@do...> - 2007-05-03 15:48:14
|
> But I am interested in making the editor in Eclipse flip back and forth > between the native one and the Vim one. That way you hit a button and edit > the text using Vim. Then hit a button to use the native Eclipse features. Sorry for just another message, but I forgot about this one -- this idea sounds good for me! Although I'm not yet sure how the performance of such a switch can be for large files; can you tell this for sure? Greetings, Daniel -- Got two Dear-Daniel-Instant Messages by MSN, associate ICQ with stress -- so please use good, old E-MAIL! |
|
From: David T. <dav...@gm...> - 2007-05-03 10:22:57
|
There already exist such a project: http://www.satokar.com/viplugin/ Its closed source though and has a price for the full version (not sure if they still offer a 'basic' free version any more like they used to in the past). Best Regards, David Terei Daniel Kraft wrote: > Hi there! > > I'm a hardcore-Vim-user for myself (80x25 virtual terminal, of course), > but for work I have to use Eclipse as an IDE; and in fact, the > Eclipse-Java-editor offers some nice features useful when writing Java > (and so does the XML one, for instance). > > At work we also use the Eclipse code formatter to ensure uniform > code-format, simply Ctrl+Shift+F. > > However, I'm missing Vim-style editing; today I found out that there's > vimplugin, aiming at providing a Vim editor inside Eclipse. I didn't > yet manage to get it work, so I have never seen it live; but as far as I > found out, it is somewhat embedding of a real vim at the editor's place, > isn't it? So you don't have native Eclipse-editor features like the > ones I described above, right? > > What I think of is that it may be possible to extend the real > Eclpise-Java-editor to accept vim-commands? I don't know much of > Eclipse-plugins yet, but this seems somewhat probably to me. You would > need to implement the Vim commands yourself, though. But if this is > possible (and not yet covered by vimplugin), I'd really like to > implement this -- either as part of vimplugin if you think this would > make sense or as separate project, maybe with some help and experience > from you? > > Hope to hear your opinions, > yours, > Daniel > |
|
From: Sebastian M. <seb...@un...> - 2007-05-03 11:08:22
|
Am Donnerstag, den 03.05.2007, 20:22 +1000 schrieb David Terei: > There already exist such a project: > > http://www.satokar.com/viplugin/ > And there is http://viclipse.sourceforge.net But I for my part am not interested in simple keybindings. It's the features of vim that attract people. Sebastian :wq |
|
From: Daniel K. <d...@do...> - 2007-05-03 15:46:18
|
Sebastian Menge wrote: > And there is http://viclipse.sourceforge.net > > But I for my part am not interested in simple keybindings. It's the > features of vim that attract people. Yes, of course, Vim is powerful and simply "cool" -- but I believe this is not the reason for you developing vimplugin, right? Everyone can use real Vim, who wants to do so. But there may be reasons why someone still wants to use Eclipse, too -- and at least for me, those reasons include some nice features of the Eclipse editor and the fact I have to use the code formatter at work. I can't tell what you guys do with Vim, but according to my experience, I use only really simple commands 99% of the time; the more advanced ones are nice at a time, but not really the reason for why I prefer Vim over some plain editor; it's mainly that I keep hitting Esc all the time and entering hjkl and digits there. Of course I admit that re-implementing Vim's commands is more effort and somewhat "ugly code-duplication" than is simply running Vim from a terminal-window; and I do not talk just about keybindings. What I thought of (although I do not know whether this is really possible) was to create my own editor-component, inluding a status-line like the Vim one, but embed the Eclipse-editor inside my editor as SWT-component; from my understanding of how Widgets work in general, this should be possible. I do not want to persuade anyone to switch to this approach -- your project is interesting in its own sense, and in fact, I just came across it because I didn't knew of viclipse, which does not provide much code yet but is closer to my ideas (Google "vim plugin eclipse" pointed me to this project). However, I'd still like to hear your opinions, why you took that way; maybe you can convince me I'm wrong... Yours, Daniel PS: BTW, thank you very much for the hint about viclipse! -- Got two Dear-Daniel-Instant Messages by MSN, associate ICQ with stress -- so please use good, old E-MAIL! |