如何理解PHPStorm内容辅助中的浏览器图标? [英] How to understand browser icons in PHPStorm content assist?

查看:382
本文介绍了如何理解PHPStorm内容辅助中的浏览器图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在下面附带的图像中,在(3)浅蓝色内容辅助框中,左侧有5个Firefox浏览器图标。他们的意思是什么?看起来他们的意思是这些方法仅在Firefox中受支持。但的版本?如果 Firefox和Chrome都支持某个元素,但不支持IE ,它将如何显示(因为1个图标只有1个列空间)?





(图片来自)



此外,在描述区域中,详细的浏览器版本支持i s也显示。





(来自我对 Eclipse 测试的图片) + Aptana插件






如果有人问我为什么不使用Aptana,而忘记了PHPStorm?由于在Aptana中编写JS时存在一些明显的缺点,有些人认为Aptana浏览器版本支持不值得信任。这就是为什么我在寻找不同的IDE。






总之,如何理解PHPStorm内容辅助中的浏览器图标?

解决方案

FireFox图标用于标有@browser Gecko注释的HTML标准库中定义的Object方法。以前以Mozilla为基础的浏览器支持的属性以这种方式标记。 IE特定的'@browser IE'注释,并显示IE图标...没有关于显式版本的信息可用。请注意,大多数这些属性都是非标准的并且已弃用 - 例如, defineGetter ()已替换为Object.defineProperty()


In the image attached below, in the (3) light blue content assist box, on the left there are 5 Firefox browser icons. What do they mean? Seemingly they mean those methods are only supported in Firefox. But of what versions? And if a certain element is supported in both Firefox and Chrome, but not IE, how will it show (as there is only 1 column space for 1 icon)?

(image from http://www.jetbrains.com/phpstorm/webhelp/familiarize-yourself-with-phpstorm-editor.html)


On the other hand, in Aptana, there are different columns of browser icons, showing levels of support by light up or not.

(image from http://aptana.com/products/studio3)

In addition, in the description area, detailed browser versions of support is also shown.

(image from my test of Eclipse + Aptana plugin)


If one asks why dont i just use Aptana, and forget about PHPStorm? As there are some significant drawbacks while coding JS in Aptana, and some says Aptana browser version support is not worth trusting. That's why I am looking for different IDEs.


In conclusion, how to understand browser icons in PHPStorm content assist?

解决方案

The FireFox icon is used for Object methods defined in HTML standard library marked with '@browser Gecko' annotation. The properties that used to be supported by Mozilla-based browsers are marked this way. IE-specific have '@browser IE' annotation and are displayed with IE icon... No information about explicit version is available. Note that most of these properties are non-standard and deprecated - for example, defineGetter() has been replaced with Object.defineProperty()

这篇关于如何理解PHPStorm内容辅助中的浏览器图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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