views:

1061

answers:

2

Yes, I know there is MonoDevelop. But what if I want to use Textmate instead?

So my question here is aimed at the .Net developer who has developed some C# applications using Textmate. I'm curious as to what their process/workflow is with this setup.

  • What is the best C# bundle out there for syntax/language grammar?
  • How do you build your project? (easy to build app for 2.0, 3.0, and/or 3.5 framework?)
  • Can you easily start a C# application in Visual Studio, and then continue to use TextMate in it's place?

Are there too many pitfalls here in thinking I could do this, and am I just taking crazy pills?

+4  A: 

To be honest I still do my actual C# building through a Virtual Machine running Windows, but I edit anything that I can through Textmate. I use the ASP.Net VB.Net tmbundle and I actually just discovered a C# tmbundle.

I am planning on switching to building in MonoDevelop if I can, but right now I work with teams that only use Windows so to be safe I'm still stuck building in Visual Studio.

Pselus
A: 

I'm looking into the same solution for TextMate... I want to be able to hit Cmd-B to build and possibly run my selected project.

I know that any solution is going to involve using MDTOOL (which is under /Applications/MonoDevelop.app/Contents/MacOS/mdtool on Mac OS X) and call mdtool build from the solution's folder. Then I'm going to go to the bin/Debug or bin/Release folder I want to run and call mono MyProjectName.exe and all will be well.

Has anyone done that yet?

Scott Mitting
Hmmm, yeah that sounds like it might be possible. It's a good point, obviously MonoDevelop builds the projects, so it makes sense that it would have a tool that you might be able to point a custom made script wrapped in a Textmate bundle, to do t he CMD-B build. Obviously this means you need MonoDevelop installed, or at least maybe have the mdtool copied into the support folder of Textmate, as part of this custom bundle. Something to think about.
program247365