.settings各文件的作用

  • org.eclipse.jdt.core.prefs is really important and control how you compile your java project.
  • org.eclipse.jst.common.project.facet.core.prefs adds a Facet, basically a way to introduce functionality to projects in Eclipse, therefore a project can have one or more facets (ie. it could be a Java project and a EJB project). See here for illustration (search the word 'Facet')
  • org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs is a way to Configuring XDoclet annotation support
  • org.eclipse.wst.common.component is relate to the deployment structure.
  • org.eclipse.wst.common.project.facet.core.xml is used to Specifying target servers for J2EE projects
  • org.eclipse.wst.validation.prefs refers to Wst validation
  • org.eclipse.wst.jsdt.ui.superType.container/name as explained here, is a configuration for JSDT part:

    By default, plain javascript files (.js) inherit members from object Global. HTML files contained in a static/dynamic web project inherit members from object Window.
    So if your context is a plain javaScript file it will appear that only Window.window or Window.alert(..) is valid since none of the Window members are inherited. What you really want is to inherit this field + method from an instance of the Window object.
    ,
    The JSDT supports a configurable super type at the project level. Each .js or .html file within a project inherits all the fields and methods from the projects super type. By default the type is Global for standalone JavaScript projects and Window for Static/Dynamic Web Projects.
    ,
    You can change the super type for a project from the JavaScript Include Path properties page from Object Global to Object Window to achieve the results you desire... On the Global Order/SuperType page change the Super Type to Window in the ECMA library.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值