- Home /
Has anybody tried to configure NetBeans as the script editor
I was wondering how difficult it would be to use NetBeans and if you could get it to recognize the Unity API so that you could see fields and functions that are available for an object.
I'm assu$$anonymous$$g you want to try this because NetBeans is a Javascript editor? I wouldn't even bother trying... UnityScript is basically as much like Javascript as Java is like Javascript (which it's not), it's really only .NET ported into a Javascript-like syntax... so I wouldn't try using any Java or Javascript IDE for writing UnityScript files. If you want a big-boy editor, use Visual Studio and C#. Once you start using IntelliSense, you'll wonder what you ever did without it. :)
Exactly! I'm trying to use IntelliSense-ish editing with javascript
@SpikeX, strictly speaking .Net is the underlying platform. You don't port it "into a Javascript-live syntax", but ins$$anonymous$$d write Javascript-like languages for it. But yeah, completely different beast.
Answer by Ricardo · Jul 08, 2010 at 10:13 PM
As others have commented, Unity's Javascript is not really Javascript. It's actually a pity that they chose the name, as it is bound to cause confusion. A lot of us ended up calling it UnityScript, which is how the (still in beta) MonoDevelop refers to it.
It's a different language for a different platform.
If you want autocomplete, you have other options:
- Wait for Unity 3, as the still-in-progress MonoDevelop supports UnityScript as a first-class language.
- While it is out, you can use FlashBang Studios' UnityDevelop, which is Windows-only.
UnityDevelop is not supported and might not be actively developed, but since you only need it until Unity 3 you probably will be fine.
Even Unity itself calls it UnityScript...if you use it, and you look in the Data folder in a build, you'll see one or two UnityScript.dll files.
$$anonymous$$akes the Javascript branding on the site and documentation all the more schizophrenic.
It's probably because it's easier to lure obnoxious flash developers or whatever into thinking the step isn't as steep as you'd believe if you'd have to learn an entire new language which "unityScript" sounds like. And... they're right. The step isn't at all steep. unityScript is very much like javaScript. In fact I first learned unityScript and have been able to use that knowledge when I'm now doing some web javascript as well. Well played UTEE!
Your answer