Hi, i’ve just decided to switch from JavaScript to C# for my next Project. Which IDE should I use? I like MonoDevelop but Studio Express C# looks quite nice as well… (Visual Studio is no option(Price!))
Are there any Advantages when Using MonoDevelop over Visual C#? (I Know about the double klicking issue, but I read that this can be solved with a script from the wiki).
What do you suggest? Are there any Experiences with both?
It seems to me Visual Studio Express C# is better at identifying syntax errors, but Unity integrates better with Monodevelop (you can double-click a source file or error and Monodevelop automatically opens at the appropriate point, Monodevelop allows debugging, Monodevelop auto-pulls in Unity library definitions…)
I’m using Monodevelop for my Unity projects and Visual Studio for my non-Unity projects.
storm - Go to Edit | Preferences and point to Monodevelop and it’ll open automatically.
If you try to do the same with Visual Studio C#, Unity will print out a warning message saying that’s not possible and it will set the default to the built-in (painful by comparison) UniSciTE.
That might be true of the Visual Studio Express version, but it’s not true of Pro versions. I have been using Visual Studio as my script editor from Unity all along, and it works nearly seamlessly (except for debugging, grrrr).
I was going to say the same. Visual Studio (non-express) properly jumps to the line of a compiler error. Guess this is somehow not supported for Visual C# Express?
I’ve used C# Express in the past for another project and it worked well, but that was for a pure C#.NET application.
I imagine that when I get around to upgrading to Unity 3.0 I’ll keep using Visual Studio and just switch to MonoDevelop for debugging. With all the plugins available for the paid Visual Studio, it’s absolutely no contest when it comes to code editing. It’s a shame how expensive it is.
I thought any language could be used in Visual Studio Pro 2010.
My Visual Studio Pro 2010 works fine with VB/C#/javascript(ECMA)/VBScript/… on .NET business apps.
I attempted to setup Visual Studio Pro 2010… instead of the UniSciTE editor.
I set VS 2010 in preferences in the Unity Editor and voila, now the scripts come up in Visual Studio.
…and alas, problems…
the intellisense fails on UnityScript constructs leaving the code peppered with squigly underscores all over.
The project file for VS was setup for C#… UnityProject.csproj
I see no way to set UnityScript as the language in VS-Tools-Options-…
As maikkel mentioned, UnityScript never worked with Monodevelop.
I read the list of the languages Monodevelop supports, UnityScript is not one, C# is.
I suspect Visual Studio and Monodevelop do not support UnityScript.
I had suspected that since UnityScript uses the .js extension… a direct conflict with ECMAjavascript.js
Hopefully I am wrong and someone will give clues for setting up Visual Studio Pro 2010 to work with UnityScript.
Thank you for any clarifications.