简体   繁体   English

eclipse-如何扩展内置的javascript库?

[英]eclipse - how to extend the build-in javascript libraries?

While modifing my eclipse juno 4.2 with some WebDev-Features, I am currently stuck while adding library support for JQuery, JQMobi and other. 在使用某些WebDev-Features修改eclipse juno 4.2时,我目前在添加对JQuery,JQMobi等库的支持时陷入困境。

This is my situation: 这是我的情况:

情况
(source: codespot.com ) (来源: codespot.com

This would be my goal: 这将是我的目标:

目标


The Problem 问题

Is it only possible to manipulate the build-in JS-Libraries of Eclipse through plugins or manually too? 是否只能通过插件或手动操作Eclipse的内置JS库?

Because, when I click on Add JavaScript library , I don't get this: 因为,当我点击Add JavaScript library ,我没有得到:

http://i.stack.imgur.com/Ezptb.png

In my case, there is only User Library - how can I add other ones?! 就我而言,只有User Library -如何添加其他User Library

These links were kind of helpful, but don't show a solution to my problem: 这些链接很有帮助,但没有显示解决我的问题的方法:

https://stackoverflow.com/a/12892508/1370465 https://stackoverflow.com/a/12892508/1370465

http://www.ibm.com/developerworks/library/os-eclipse-jsdt/ http://www.ibm.com/developerworks/library/os-eclipse-jsdt/

http://marketplace.eclipse.org/content/jsdt-jquery#.UVB0clfAm2U http://marketplace.eclipse.org/content/jsdt-jquery#.UVB0clfAm2U

A user library represent sets of JavaScript files chosen by a user and preset through the User Libraries preference page. 用户库表示由用户选择并通过“用户库”首选项页面进行预设的JavaScript文件集。

用户库首选项页面(Juno SR2)

Everything else is provided by plug-ins. 其他所有内容均由插件提供。

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

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