Created
November 10, 2012 19:44
-
-
Save xdegtyarev/4052254 to your computer and use it in GitHub Desktop.
CompleteSharp Unity3d config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// You probably want to configure this to something of your own. | |
// ${home}, ${env:<variable>}, ${project_path:} and ${folder:} tokens can be used in the completesharp_assemblies option. | |
// | |
// ${home} is replaced with the value of the HOME environment variable. | |
// | |
// ${env:<variable>} is replaced with the "variable" environment variable. | |
// | |
// ${project_path:} tries to find a file with the given name in all the registered project folders and | |
// returns the first file found, or the original file name if none is found. | |
// Example: ${project_path:main.cpp} tries to find a file named "main.cpp" relative | |
// to the current project's folders. If none is found, it is replaced with "main.cpp". | |
// | |
// ${folder:} is replaced with the dirname of the given path. | |
// Example: ${folder:/path/to/file} is replaced with "/path/to". | |
// | |
// Replacement is done sequentially, first all ${project_path:} are resolved, then ${home} and | |
// ${env:<variable>} tokens, and then the ${folder:} are replaced, | |
"completesharp_assemblies": [ | |
"/Applications/Unity/Unity.app/Contents/Frameworks/Managed/UnityEngine.dll", | |
"/Applications/Unity/Unity.app/Contents/Frameworks/Managed/UnityEditor.dll", | |
"${project_path:/Library/ScriptAssemblies/Assembly-CSharp.dll", | |
"${project_path:/Library/ScriptAssemblies/Assembly-CSharp-Editor.dll", | |
], | |
// Regular expression filter used to filter the completion | |
// suggestions | |
"completesharp_filterregex": "^(get_|set_|op_|add_|remove_|<)", | |
// When set to true will inhibit the completions suggested | |
// by default by Sublime Text 2 if CompleteSharp can't | |
// find anything to complete | |
"completioncommon_inhibit_sublime_completions": true, | |
// When set to true will shorten class names in the completion list | |
// by removing the package name. | |
"completioncommon_shorten_names": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment