IDE
Posted: Tue May 06, 2008 9:38 pm
I took a look at writing a Cobra plugin for Visual Studio 2008. I found the API to be rather arcane and the docs to be obtuse. When I peeked at the IronPython plugin, I found that 24,000 raw lines of C# code were required to pull that off!
Another IDE of interest is #develop. It's Python plugin is not much better at 19,800 raw lines of C#, but then the Boo plugin was about 10,000 and I'm guessing Cobra would be similar. I'm inferring Python has an impedance to overcome from being neither static nor designed for .NET. Strangely, the Boo plugin is written almost entirely in C#... Perhaps they didn't want to use Boo prior to having IDE support for it.
(I suppose another IDE of interest is MonoDevelop which was forked from #develop way back when.)
So Visual Studio extensibility is not as friendly as I would like. That's not the only problem. While I'm doing any IDE work, the language is mostly sitting still (but not entirely thanks to contribs). Which is why I didn't write a Cobra plugin for #develop even though it's API, docs and examples felt cleaner.
I know that earlier I shooed people off any IDE effort due to wanting to implement it myself and sell it as shareware/indie software. I no longer want to do that. I want to return to focusing on the core language and compiler, and let others charge ahead with the IDE integration. Getting IDE autocompletion and debugging sooner rather than later will really boost Cobra. Maturing the language in parallel will amplify the benefits and we'll be in a really great place some number of months from now.
I can worry about Cobra-based income down the road with a book, support contracts, consulting, begging, etc.
The main IDE choices are Visual Studio (VS), #develop (SD) and MonoDevelop (MD). VS will boost Cobra popularity more and it *is* a damn nice environment to use. SD will be easier and quicker to get up and running (unless you already had the VS experience). SD comes pretty close to VS including the important editing and debugging features. I haven't investigated MD.
Which ones are pursued depends on who takes the lead. Any of these environments needs or will benefit from a CodeDom and MSBuild support, so some work can be shared.
Some links:
SD:
http://www.icsharpcode.net/opensource/sd/
http://wiki.sharpdevelop.net/AddinWritingHelp.ashx
VS:
http://msdn.microsoft.com/en-us/vsx/default.aspx
http://blogs.msdn.com/vsxteam/
As always, I'm interested to hear your thoughts. Of course, I'm especially interested to hear if anyone will pursue this.
-Chuck
Another IDE of interest is #develop. It's Python plugin is not much better at 19,800 raw lines of C#, but then the Boo plugin was about 10,000 and I'm guessing Cobra would be similar. I'm inferring Python has an impedance to overcome from being neither static nor designed for .NET. Strangely, the Boo plugin is written almost entirely in C#... Perhaps they didn't want to use Boo prior to having IDE support for it.
(I suppose another IDE of interest is MonoDevelop which was forked from #develop way back when.)
So Visual Studio extensibility is not as friendly as I would like. That's not the only problem. While I'm doing any IDE work, the language is mostly sitting still (but not entirely thanks to contribs). Which is why I didn't write a Cobra plugin for #develop even though it's API, docs and examples felt cleaner.
I know that earlier I shooed people off any IDE effort due to wanting to implement it myself and sell it as shareware/indie software. I no longer want to do that. I want to return to focusing on the core language and compiler, and let others charge ahead with the IDE integration. Getting IDE autocompletion and debugging sooner rather than later will really boost Cobra. Maturing the language in parallel will amplify the benefits and we'll be in a really great place some number of months from now.
I can worry about Cobra-based income down the road with a book, support contracts, consulting, begging, etc.
The main IDE choices are Visual Studio (VS), #develop (SD) and MonoDevelop (MD). VS will boost Cobra popularity more and it *is* a damn nice environment to use. SD will be easier and quicker to get up and running (unless you already had the VS experience). SD comes pretty close to VS including the important editing and debugging features. I haven't investigated MD.
Which ones are pursued depends on who takes the lead. Any of these environments needs or will benefit from a CodeDom and MSBuild support, so some work can be shared.
Some links:
SD:
http://www.icsharpcode.net/opensource/sd/
http://wiki.sharpdevelop.net/AddinWritingHelp.ashx
VS:
http://msdn.microsoft.com/en-us/vsx/default.aspx
http://blogs.msdn.com/vsxteam/
As always, I'm interested to hear your thoughts. Of course, I'm especially interested to hear if anyone will pursue this.
-Chuck