Monday, July 24, 2006

Delphi Wiki

A Delphi Wiki has been started on http://delphi.wikia.com. I think it's a brilliant idea and I hope it takes off well and becomes a great community resource. So please also spread the word to other Delphi developers.

Wednesday, July 12, 2006

Shenoy's PInvoke Live Template

Shenoy has written a great example of a live template extension. It uses PInvoke web service from the PInvoke.net website. For Delphi code, it also uses the BabelCode web service to translate the declaration to Delphi (since PInvoke.net only returns C# and perhaps VB.NET code, I think).

So, you're writing a .NET app and need to make a PInvoke call to some unmanaged Win32 API? With this live template extension, no problem: type pinvd (in Delphi), or pinvc (in C#), press Ctrl+J, type in the function name, and press Enter ;-) The declaration will be inserted directly into your code. I think it's very nice!

Saturday, July 01, 2006

Blame

A few people have asked me if I plan to include Subversion blame functionality.
Here's a screenshot which shows what I've done:


Running blame may take a long time, especially with a file with a lot of history, so I wrote it to run in a separate thread.

The hint shows the commit log message of the blame line revision.