简体   繁体   English

Webstorm中的Adobe Air开发

[英]Adobe Air development in webstorm

Just trying to get familiar with Adobe Air and JavaScript so I've downloaded a trial of WebStorm. 只是想熟悉Adobe Air和JavaScript,所以我下载了WebStorm试用版。

I'm following a menu tutorial from here: http://www.adobe.com/devnet/air/ajax/quickstart/articles/adding_menus.html but somehow WebStorm does not recognise some of the Air variables. 我正在从这里关注菜单教程: http : //www.adobe.com/devnet/air/ajax/quickstart/articles/adding_menus.html,但是WebStorm不知何故无法识别某些Air变量。 For example: 例如:

air.NativeWindow.supportsMenu;
air.NativeApplication.supportsDockIcon;

In both of these (and other) cases air and NativeWindow are recognised, but the 3rd variable (supportsMenu, supportsDockIcon) are reported as "not recognised variables", which is strange because they are perfectly valid according to Air API reference. 在这两种情况(以及其他情况)下,都可以识别air和NativeWindow,但是将第三个变量(supportsMenu,supportsDockIcon)报告为“无法识别的变量”,这很奇怪,因为根据Air API参考,它们完全有效。

Is there a way to fix that? 有办法解决吗?

Help? 救命?

As far as I Know WebStorm does not have support for Adobe AIR, which means it doesn't know about the AIR API variables. 据我所知,WebStorm不支持​​Adobe AIR,这意味着它不了解AIR API变量。 If you pulled in a reference like AIRAliases.js, it would "know" about the aliases defined there, though. 但是,如果您引入了诸如AIRAliases.js之类的引用,它将“知道”在那里定义的别名。

I would love to be wrong about this. 我很想错这个。 Can you point me to a reference that says WebStorm supports AIR or explains how to support AIR in WebStorm? 您能否指向我一个引用,它说WebStorm支持AIR或解释了如何在WebStorm中支持AIR?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM