Tuesday, January 26, 2010

Re: visual_studio.vim

On Jan 25, 6:59 pm, Max Dyckhoff <max.dyckh...@gmail.com> wrote:
> Upon a quick skim, it seems like you have removed support for using
> external Python, and rely on vim's built in Python; is that accurate?
>
> My async version requires external Python, for obvious reasons, unless
> you can suggest an alternative?
>
> Cheers,
>
> Max

Yes, I thought the allowance for calling an external Python was
superfluous, since both the official and Cream's build of Vim are
built with Python support. It just added an unnecessary complexity.

You say that the async version requires external Python for obvious
reasons. I'm not sure I understand what you mean. Calls to system() or
commands using :! are no less blocking than commands using :python.
The COM calls to the Visual Studio DTE are non-blocking, and the
blocking mechanism is implemented in the visual_studio.py module using
a loop that checks if the build is complete. For the async-version,
you should disable this wait loop.

Regards,
Henrik.

>
> On Mon, Jan 25, 2010 at 9:37 AM, Henrik Öhman <spe...@gmail.com> wrote:
> > On Jan 25, 3:53 pm, Max Dyckhoff <max.dyckh...@gmail.com> wrote:
> >> That's what I'm doing! :)
>
> > :)
>
> >> I'm actually in the process of writing (whenever my project is
> >> compiling) an asynchronous version of visual_studio.vim that can be
> >> turned on with a global. It's great so far, I just need a few more
> >> hours to finalize everything. Is the author (Michael Graz) still
> >> around, and would anyone else be interested in seeing my async
> >> version?
>
> >> Max
>
> > He has responded to email in the past.
>
> > I've forked the project, because I wanted to implement some
> > functionality of my own, and felt like I wanted to rewrite most of it
> > to get a better separation of Vim and Python code. Feel free to use it
> > if you like - it's fairly well tested, but some bugs are still there.
> > You can find it athttp://github.com/spiiph/visual_studio.
>
> > Regards,
> > Henrik
>
> > --
> > You received this message from the "vim_use" maillist.
> > For more information, visithttp://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: