Am 03.09.2013 08:46, schrieb Jacob Carlborg:
> On 2013-09-03 00:20, Brian Schott wrote:
> 
>> That's something that the editor plugin can call on shutdown. DCD pretty
>> much requires that the editor support scripting.
> 
> I was looking in to adding this to TextMate. But the easiest solution
> would most likely be using bundles. In TextMate that's basically a
> script that gets executed when a hotkey is pressed. I mean, I can't
> really start and stop the sever each time the users press that key.
> 
> TextMate supports plugins as well, kind of. But it's quite cumbersome to
> write. I hasn't a real API, one uses method swizzling and observers to
> implement a plugin. It's a lot easier now when TextMate 2 is open source.
> 
> It also seems a bit unnecessary to have the server running as soon as
> the user opens TextMate. He/she might not even use the editor for D this
> time.
> 

I wrote the Kate/Kwrite/Kdevelop Plugin. I recommend you to let the
server running all the time anyways (start it with X e.g.), since
processing phobos alone takes quite some time. If you power up the
editor you don't wanna wait a few minutes until DCD is done and can
answer the requests. Also, if you start multiple sessions, you want only
one server running (the K* Plugin won't start multiple servers anyways
because it has a fixed port).

Reply via email to