View unanswered posts | View active topics It is currently 2019-11-22 3:56



Reply to topic  [ 17 posts ] 
 TWaver HTML5 API Doc 
Author Message
TWaver开发组
User avatar

Joined: 2009-04-20 18:37
Posts: 3115
Post TWaver HTML5 API Doc
TWaver HTML5 API Doc 正在紧张进行中
Attachment:
TWaver HTML5 API Doc.png
TWaver HTML5 API Doc.png [ 202.22 KiB | Viewed 8992 times ]


2011-12-12 12:21
Profile
TWaver开发组
User avatar

Joined: 2009-04-20 18:37
Posts: 3115
Post Re: TWaver HTML5 API Doc
在Netbeans中, 只要在当前工程中加入twaver.sdoc, 就能显示方便实用的API提示
Attachment:
TWaver HTML5 API Hint.png
TWaver HTML5 API Hint.png [ 150.4 KiB | Viewed 8990 times ]


2011-12-12 12:25
Profile
TWaver开发组
User avatar

Joined: 2009-04-20 18:37
Posts: 3115
Post Re: TWaver HTML5 API Doc
Vistual Studio中, 先加入twaver.debug.js,
在html文件中, 只要引入了twaver.js文件, 在script标签中就能看到提示:
Attachment:
vsdoc-html.png
vsdoc-html.png [ 68.84 KiB | Viewed 8699 times ]


在js文件中, 需要在文件开头加入一句注释:/// <reference path="twaver.js" />
Attachment:
vsdoc-js.png
vsdoc-js.png [ 63.03 KiB | Viewed 8699 times ]


2012-04-10 16:26
Profile
本站元老

Joined: 2010-07-22 20:20
Posts: 1640
Post Re: TWaver HTML5 API Doc
再增加一个spket的
Attachment:
Screen Shot 2012-04-10 at 下午4.59.07.png
Screen Shot 2012-04-10 at 下午4.59.07.png [ 41.29 KiB | Viewed 8694 times ]


2012-04-10 16:52
Profile WWW
新手上路

Joined: 2010-08-07 14:51
Posts: 35
Post Re: TWaver HTML5 API Doc
Eclipse下的API Doc出炉了么?


2012-06-13 22:56
Profile
本站元老

Joined: 2010-07-22 20:20
Posts: 1640
Post Re: TWaver HTML5 API Doc
tombear wrote:
Eclipse下的API Doc出炉了么?

spket是eclipse的js编辑插件,你说的eclipse下的API Doc是什么?


2012-06-14 9:15
Profile WWW
新手上路

Joined: 2010-08-07 14:51
Posts: 35
Post Re: TWaver HTML5 API Doc
spket下如何设置才能显示TWaver HTML5的提示?


2012-06-14 21:56
Profile
新手上路

Joined: 2010-08-07 14:51
Posts: 35
Post Re: TWaver HTML5 API Doc
Eclipse下如何不使用spket插件,如何显示TWaver HTML5的提示?


2012-06-14 22:00
Profile
本站元老

Joined: 2010-07-21 23:24
Posts: 1387
Post Re: TWaver HTML5 API Doc
tombear wrote:
Eclipse下如何不使用spket插件,如何显示TWaver HTML5的提示?

可能不好搞,现在提示工具都需要通过特殊的apidoc格式才能支持显示,所以我们也是为vs,nb及spket特殊生成了对应的apidoc格式,好像还没有通用的解决方案。


2012-06-14 22:26
Profile
新手上路

Joined: 2010-08-07 14:51
Posts: 35
Post Re: TWaver HTML5 API Doc
vs,nb对应的apidoc在TWaver HTML5中都有了,但没有发现spket对应的apidoc?如何获得?


2012-06-14 23:00
Profile
TWaver开发组
User avatar

Joined: 2009-04-20 18:37
Posts: 3115
Post Re: TWaver HTML5 API Doc
spket和netbeans的一样


2012-06-15 9:02
Profile
本站元老

Joined: 2010-07-22 20:20
Posts: 1640
Post Re: TWaver HTML5 API Doc
tombear wrote:
vs,nb对应的apidoc在TWaver HTML5中都有了,但没有发现spket对应的apidoc?如何获得?

spket直接引入twaver.sdoc.js即可


2012-06-15 9:03
Profile WWW
新手上路

Joined: 2010-08-07 14:51
Posts: 35
Post Re: TWaver HTML5 API Doc
具体如何引入?我的spket(Eclipse下的插件)怎么还是没有任何提示?


2012-06-20 23:39
Profile
TWaver开发组
User avatar

Joined: 2009-04-20 18:37
Posts: 3115
Post Re: TWaver HTML5 API Doc
参考这里:Create JavaScript profile for Ext 4.x


2012-06-21 8:59
Profile
本站元老

Joined: 2010-07-22 20:20
Posts: 1640
Post Re: TWaver HTML5 API Doc
tombear wrote:
具体如何引入?我的spket(Eclipse下的插件)怎么还是没有任何提示?

Attachment:
Open.png
Open.png [ 98.31 KiB | Viewed 8471 times ]


2012-06-21 9:34
Profile WWW
新手上路

Joined: 2010-08-07 14:51
Posts: 35
Post Re: TWaver HTML5 API Doc
很奇怪,为什么我按照图中步骤设置好了,怎么还是没有任何反应? :helpless:


2012-06-23 7:54
Profile
本站元老

Joined: 2010-07-22 20:20
Posts: 1640
Post Re: TWaver HTML5 API Doc
tombear wrote:
很奇怪,为什么我按照图中步骤设置好了,怎么还是没有任何反应? :helpless:

Attachment:
Preferences.png
Preferences.png [ 90.4 KiB | Viewed 8449 times ]

Attachment:
Eclipse.png
Eclipse.png [ 55.56 KiB | Viewed 8449 times ]


2012-06-23 8:07
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ] 

Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron