code完成 - 煎茶+的Aptana Studio的3 [英] Code completion - Sencha + Aptana Studio 3

查看:173
本文介绍了code完成 - 煎茶+的Aptana Studio的3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的Aptana Studio的3和下载煎茶如下链接会建议:
http://docs.sencha.com/touch/2.3.1/ #!/引导/ first_app <​​/A>

I am working on Aptana Studio 3 and have downloaded Sencha as below link would advice: http://docs.sencha.com/touch/2.3.1/#!/guide/first_app

即。下载煎茶(和XAMPP,安装解压缩后的文件煎茶到一个名为XAMPP / htdocs中触摸里面的文件夹)。
本地主机/触摸/例子表明了罚款 - 因此它肯定是工作

I.e. downloaded Sencha (and XAMPP, installed the unzipped sencha files into a folder called touch inside xampp/htdocs). Localhost/touch/examples show up fine - so it is definitely working

也安装煎茶CMD。这将安装煎茶CMD行工具版本4.0.x的 - 我能使用来创建骨骼煎茶项目文件夹NEWAPP

Have also installed Sencha cmd. This installs sencha cmd line tool version 4.0.x - and I am able to create a folder NewApp with skeletal sencha project using

sencha generate app NewApp NewApp

的内容XAMPP / htdocs中/触摸内部创建/ NEWAPP文件夹

The content is created inside xampp/htdocs/touch/NewApp folder

奇怪的是,在链接上面的教程说,使用下面的命令:
    煎茶-sdk /路径/要/触摸应用程序生成的MyApp
但是,我还没有得到指示安装SDK(我想这样做,但安装SDK有煎茶CMD行工具版本2.x.x - 所以我已经卸载它。

Strangely, the tutorial in the link above says to use the command: sencha -sdk /path/to/touch generate app MyApp However, I have not been instructed to install the SDK (I tried doing this, but the SDK installed has the sencha cmd line tool version 2.x.x - so I have uninstalled it

我在进口的Aptana Studio的这个NEWAPP文件夹,并试图与这个工作。我如何获得code完成的工作?

I am importing this NewApp folder in Aptana Studio and trying to work with this. How do I get code completion working?

我试着以下说明:的http://www.sencha.com/forum/showthread.php?112540-Aptana-$c$c-Assist-for-Sencha-Touch

6。在集锦工作室转到Windows - > preferences - >了Spket - >型材的Javascript
   - 点击新建,写SenchaTouch
   - 选择SenchaTouch,然后单击添加库,并从显示的列表中选择ExtJS的
   - 选择ExtJS的,并点击添加文件找到的youre煎茶-touch.jsb3至极是从sencha.com下载的zip文件containted。 (使
  确保所有从该归档的文件位于同一文件夹中)
  ....,然后单击打开

6 . In Aptana Studio go to Windows -> Preferences -> Spket -> Javascript Profiles - Click "New" and write "SenchaTouch" - Select "SenchaTouch" and click "Add Library" and select "ExtJs" from the list displayed - Select "ExtJs" and click "Add File" Locate youre "sencha-touch.jsb3" wich is containted in the zip file downloaded from sencha.com. (make sure all the files from that archive are located in the same folder) ....and click "Open"

不过,我根本就没有在zip文件中,我从下载安装煎茶2.3 .jsb3文件

However, I simply do not have a .jsb3 file in the zip file i downloaded from for installing Sencha 2.3

推荐答案

有是自2.2.1煎茶触摸库中没有更多的.jsb3文件。请参阅本_http://tol8.blogspot.de/2013/02/sencha-ext-js-support-in-eclipse-tested.html

There is no more .jsb3 files for sencha touch library since 2.2.1. See this _http://tol8.blogspot.de/2013/02/sencha-ext-js-support-in-eclipse-tested.html.

使用了Spket插件就Eclipse和煎茶触摸2.3.x.自动complite功能工作您可以使用的.js(煎茶触摸-all.js的)文件从煎茶触摸图书馆工作,而不是.jsb3文件。我发现这个博客并与煎茶触摸2.3.1更新的尝试。为了得到setter和getter函数工作检查了Spket论坛

Use spket plugin to make auto complite function work on eclipse and sencha touch 2.3.x. You can use .js (sencha-touch-all.js) file from sencha touch library working instead of .jsb3 file. I found this blog and tried it with sencha touch 2.3.1 update. To get setter and getter function work check spket forum.

这篇关于code完成 - 煎茶+的Aptana Studio的3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆