测试版本 cocos Code IDE for mac 1.02 版本
引擎 cocos2d-x 3.3rc0 lua
mac系统 10.10
windows下显示正确。
问题描述:
很多时候提示中没有这个函数
比如
local testLayer = cc.Layer:create()
testLayer:register
他不提示任何API的,windows下可以正确提示registerScriptxx这样的函数
另外比如提示的函数是removeFromParentAndCleanup
但是这个函数运行是没有的,运行就出现错误。应该是removeFromParent这个函数
可以在mac下测试下
local nameLabel = cc.Label:create()
nameLabel:removeFromParen看看是不是代码提示正确

别人正确的提示是

我的猜测
1 是不是IDE中的那个 这个文档没有更新,这个mac版本IDE自带的API包是以前的。但是我把window下的文件copy到Cocos Code IDE ▸ configuration ▸ org.eclipse.osgi ▸ bundles ▸ 61 ▸ 1 ▸ .cp ▸ resource ▸ cocos2dx-3.3仍旧没有正确提示。
是不是我放置的位置不是正确的。