sublimetext2 - Getting Cocos2d-x method completions in Sublime Text 2 -


i've been playing sublime text 2 last few days , wondering if out there has had success getting cocos2d-x method completions working yet? i've install sublimeclang,but doesn't work well. there setting of sublimeclang

{ "options": [     "-m32",     "-w",     "-fgnu-runtime",     "-fms-extensions",     "-nostdinc",     "-d__gnuc__=4",     "-d__gnuc_minor__=2",     "-d__gnuc_patchlevel__=1",     "-d__gxx_abi_version__=1002",     "-di386=1",     "-d__i386=1",     "-d__i386__=1",     "-dwin32=1",     "-d_win32=1",     "-d__win32=1",     "-d__win32__=1",     "-dwinnt=1",     "-d__winnt=1",     "-d__winnt__=1",     "-d_x86_=1",     "-d__msvcrt__=1",     "-d__mingw32__=1",     "-d__stdc_version__=201112l",     //"-isystem", "/applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks/macosx10.7.sdk/usr/include/",     //"-isystem", "/applications/xcode.app/contents/developer/platforms/macosx.platform/developer/sdks/macosx10.7.sdk/usr/include/c++/4.2.1",     "-isystem", "d:\\developer\\mingw\\lib\\gcc\\mingw32\\4.6.2\\include",     "-isystem", "d:\\developer\\mingw\\lib\\gcc\\mingw32\\4.6.2\\include\\c++",     "-isystem", "d:\\developer\\mingw\\lib\\gcc\\mingw32\\4.6.2\\include\\c++\\mingw32",     "-isystem", "d:\\developer\\mingw\\include\\",     "-dandroid",     "-isystem", "d:\\developer\\android-ndk-r8e\\toolchains\\x86-4.6\\prebuilt\\windows-x86_64\\lib\\gcc\\i686-linux-android\\4.6\\include",     "-isystem", "d:\\developer\\android-ndk-r8e",     "-isystem", "d:\\developer\\android-ndk-r8e\\sources\\cxx-stl\\gnu-libstdc++\\4.6\\include",     "-isystem", "d:\\developer\\android-ndk-r8e\\sources\\cxx-stl\\gnu-libstdc++\\4.6\\libs\\x86\\include",      "-isystem", "d:/developer/cocos2d-2.0-x-2.0.4/cocos2dx",     "-isystem", "d:/developer/cocos2d-2.0-x-2.0.4/cocos2dx/include",     "-isystem", "d:/developer/cocos2d-2.0-x-2.0.4/cocos2dx/platform/android",     "-isystem", "d:/developer/cocos2d-2.0-x-2.0.4/cocos2dx/platform/third_party/android",        "-wall",     "-ferror-limit=0" ] 

}

unfortunately, autocompletion lists macro, no class , method.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -