- Home /
Hit Save on MonoDevelop activates Unity compiler
Is there a way to make Unity compile the code when I hit the save the document on MonoDevelop? I want to have a faster compiling process and I'm save addicted...
Answer by sneftel · Jul 30, 2011 at 07:53 PM
Unity reimports changed assets when it gets focus, so just switching over to Unity and then back to MonoDevelop will start the compile (you don't have to wait for it to finish before switching back). You could presumably write a MonoDevelop plugin to do this for you, but it seems like the sort of thing that would take more time than it would save. :-) Compiling after changes to C# code is generally very very fast.... I've got tens of thousands of lines of code in my Unity project, and the latency when editing a file and then switching back to Unity is under a second.
Answer by zedz · Oct 27, 2013 at 09:07 PM
Bumping this thread, cause I would also like to see this, and since its a couple of years old perhaps its been added.
but it seems like the sort of thing that would take more time than it would save. :-) Sure for one person, but 2 secs saved per time x ~200 times per day (for me) equals about 5 minutes per day, which aint much but at the end of the week thats half an hour wasted for me alone, multiply that by the thousands of people using unity