Unity + Sublime Text 2 with Auto-Complete!

First off, I want to thank JacobPennock and other unnamed contributors for beginning the Unity+ST2 integration. Without their plugins, conversations, and tutorials I would not have figured this out. Thanks guys!

Anyways, I have fallen in love with Sublime Text 2–duh, who doesn’t–and really wanted to use it for my Unity development. I am using C# for scripting and have used VS 2012 for coding up 'til now, but I really, REALLY wanted to use ST2 for all of my development. I played around with creating system builds for projects, and customizing the crap out of my ST2. In the end, I actually was able to get auto-complete work with ST2!! I have a post describing how to achieve my full setup on my [newish] blog. Hope this helps!

I haven’t done this yet so I can’t attest to it’s effectiveness, but for others who would like this and are unable to find it on the blog, here is a permalink:

http://ingshtrom.tumblr.com/post/37050487482/unity-sublime-text-2-integration-auto-complete

I’m really looking forward to getting this working, thanks!

1 Like

Doesnt work for me…

Does anyone know a way to get autocomplete working with Mac OS X?

In about 2 days you won’t have to. I have been working on creating a mono develop theme that is 100% identical to sublime text 3.

Unless you want the editor because of the fastness with python and the jquery, then nvm. But i’ll be releasing the theme soon.

MonoDevelop with a theme is still MonoDevelop, not Sublime Text.

–Eric

1 Like

almost 21.2k post count? Jesus…trade accounts? lol

And there is nothing wrong with monodevelop. I assume people change editors because they like different syntax highlights lol. That’s why created my own :slight_smile:

Idk, could be wrong.

assuming that you added Ofer Reichman’s “Unity Completions” package already… and used the Package Control: Install Package to do that…

I have had the same problem on OSX so I made some adjustments to preferences > Settings - User…

try this:-

{
	"ignored_packages":
	[
		"Vintage"
	
	],
	"auto_complete": true,
	"auto_complete_delay": 50,
	"auto_complete_selector": "source - comment"
}

note my config file previously looked liked this…

{
	"ignored_packages":
	[
		"Vintage",
		"Unity Completions"
	]
}

If that looks familiar… then all you need to do is un-ignore Unity like this

{
	"ignored_packages":
	[
		"Vintage"
	]
}

Thx for hints, all setup and working as desired now.

The reason I don’t want to use MonoDevelop is:
It can’t handle complex syntax with out crashing ( Especially Boo) .
It feature heavy and takes up to much screen realestate.
It slow to load.
It crashes, it has always crashed in every version for various unrelated reasons.

I might give it a go. I downloaded a trial and wanted to try it out, but the fact that I had to play around so much and “customiz[e] the crap out of my ST2” was really offputting.

Enable coding with Sublime Text2/3 + Unity.