- Home /
UnityScript editor with code completion (MonoDevelop?) (MacOSX)
Hi guys,
is there anyway to get ANY descent UNityScript editor ?? Like we have UnityDevelop under windwos ?
Unitron is a pain to work :(
Is there anyway to setup the provided MonoDevelop to code completion the UnityScript ??
Thanks..
Answer by DocSWAB · Nov 03, 2010 at 10:56 PM
The customized version of MonoDevelop that ships with Unity 3.0f5 has some but incomplete code completion for UnityScript. It's somewhat better than Unitron, and promises to get more polished going forward.
$$anonymous$$y $$anonymous$$onodevelop doesnt seem to complete anything related to JavaScript... is there anything special i need to setup ?? Thanks
Answer by PunkDuck · Dec 18, 2010 at 10:57 PM
I found that if i just wrap my javascript files in a class definition then all the autocomplete works great.
// example // LookAt.js
// ADD THE CLASS DEFINITION INSTEAD OF CREATING A BLANK SCRIPT class LookAt extends MonoBehavior {
var target:Transform
function Update() { transform.LookAt(target) } }
Everything above should be autocompleted for you now inside MonoDevelop because you wrapped it inside the class definition
Your answer
Follow this Question
Related Questions
Can you make a shortcut key for templates(snippets) in Monodevelop? 0 Answers
Monodevelop autocomplete on private variables 1 Answer
Unity 5.3 Monodevelop JS Not Checking for Errors or Auto-Completing/Suggesting (C# fine) 1 Answer
Monodevelop, Autocomplete No Longer Working 1 Answer
[Solved]MonoDevelop template autocomplete not working 3 Answers