最近几天我一直在玩 Sublime Text 2,想知道是否有人已经成功地让 Cocos2d-x 方法完成工作了?我已经安装了 Sublimeclang,但效果不佳。有我的 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"
]
}
不幸的是,自动完成只列出宏,没有类和方法。