Monday, April 23

vimplugin works for windows!!

Yesterday I tried to install vimplugin on windows. I just got a blank black window in the editor place. So, I figured out the problem. The problem is with terminal emulator. I searched for java win32 terminal emulator since vim runs in CMD. There were no such emulators...

So, I got struck up there. Then I found that jta supports ansi, vt100, and some other types of terminal also.. I tried all of those by changing the terminal id in the program. But didn't work.

Today, when I am searching in vim help for something... I found an runtime argument "-T". Vim takes this arguments and gives output according to that type of terminal... Wow!! I got the solution. I added extra two arguments to the vim process in the code "-T","vt320" and tried it again. Yes, Its working.... But its not taking keystrokes... I told the same thing to Mr. Sebastian Menge (the vimplugin developer ) and he posted it in vimplugin-devel mailing list....

Sunday, April 22

Facing problems with OLE

Today,I created a sample plugin for eclipse ( I already have experience in creating plugins ). In that first I used a small internal editor for testing. Yes, I got it... its working very fine..

Then I used eclipse's SWT library to embed the OLE frame. I found out vims ole program id in its documentation, that is "Vim.Application". I tried to call the vim from python as suggested in its docs. perfect, its working....

Immediately I replaced the internal editor page with swt's OleFrame with OleClient as vim. After some struggling i successfully compiled the program and started the eclipse application

Oouch!!! Got some execution error.... "failed to create ole client"... I tried to find out what that error means and did googling... sssshh!! no relevant results.. nobody faced the same problem...

Friday, April 20

Exploring existing solutions

I've found some vim plugins for the eclipse.

one is vimplugin, it uses JTA ( terminal emulator ) and shows the terminal version of vim in the editor tab. For now it works in linux and cygwin environments only. And lack of integration between eclipse and vim.

Another is viplugin, here they re-developed a small version of vim in java. That's not our case, since we are working for vim organization :P

The last one Eclim.. Here they did a reverse implementation. they brought the eclipse features into vim. ( I thought it as useless :)), we will definitely loose a lot of eclipse functionalities )

I'm thinking to get the gvim into action and moving towards it...

Tuesday, April 17

Small Intro..

Hi folks,

I am nageswara rao M, persuing 3rd year B.Tech in IIIT Hyderabad, india. I participated and got selected in Google summer of code 2007. I applied for vim organization and my application is about creating vim plugin for Eclipse IDE. ( looking very interesting rite? )

I explained some of the approaches and their implementation ideas and their pros and cons. This summer I'm going to work with vim creator Bram Moolenaar and I'm very glad for that. I will post all my work experiences about this project on this blog. ( I guess it will be some what boring, but sure it will help others in the future )