Skip to content

Instantly share code, notes, and snippets.

@bgadrian
Created October 11, 2014 22:11
Show Gist options
  • Save bgadrian/e37770768ffac4cec2b2 to your computer and use it in GitHub Desktop.
Save bgadrian/e37770768ffac4cec2b2 to your computer and use it in GitHub Desktop.
Sublime settings file for a unity3d project
{
"folders":
[
{
"file_exclude_patterns":
[
"*.unity",
"*.controller",
"*.asset",
"*.meta",
"*.anim",
"*.prefab",
"*.fla",
"*.sublime-project",
"*.pidb",
"*.userprefs",
"*.booproj",
"*.unityproj",
"*.csproj",
"*.sln"
],
"folder_exclude_patterns":
[
"ProjectSettings",
"Library",
"Temp",
"builds"
],
"path": "./"
}
],
"settings":
{
"AStyleFormatter": {
"options_default": {
"style": "kr",
"pad-paren-in": true,
"break-closing-brackets": true,
"add-brackets": true,
"keep-one-line-blocks": true,
"keep-one-line-statements": true
}
},
// Uncomment for OS X/Linux - Add the correct path to your Mono command if "mono" does not launch Mono in the Terminal.
"completesharp_mono_path": "<path-to-Unity-folder>\\MonoDevelop\\bin",
"completesharp_assemblies": [
"<path-to-Unity-folder>\\Editor\\Data\\Mono\\lib\\mono\\unity\\System.Core.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Mono\\lib\\mono\\unity\\System.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Managed\\UnityEngine.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Managed\\UnityEditor.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Mono\\lib\\mono\\unity\\UnityScript.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Mono\\lib\\mono\\unity\\System.Core.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Mono\\lib\\mono\\unity\\System.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Managed\\nunit.framework.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Mono\\lib\\mono\\unity\\mscorlib.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Mono\\lib\\mono\\unity\\System.Core.dll",
"<path-to-Unity-folder>\\Editor\\Data\\Mono\\lib\\mono\\unity\\System.dll",
"${project_path:Library}\\ScriptAssemblies\\Assembly-CSharp.dll",
"${project_path:Library}\\ScriptAssemblies\\Assembly-CSharp-Editor.dll",
"${project_path:Library}\\ScriptAssemblies\\Assembly-UnityScript-Editor.dll",
"${project_path:Library}\\ScriptAssemblies\\Assembly-CSharp-firstpass.dll"
],
"completioncommon_inhibit_sublime_completions": true,
"completioncommon_shorten_names": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment