<tfoot id='xSMrg'></tfoot>

    1. <i id='xSMrg'><tr id='xSMrg'><dt id='xSMrg'><q id='xSMrg'><span id='xSMrg'><b id='xSMrg'><form id='xSMrg'><ins id='xSMrg'></ins><ul id='xSMrg'></ul><sub id='xSMrg'></sub></form><legend id='xSMrg'></legend><bdo id='xSMrg'><pre id='xSMrg'><center id='xSMrg'></center></pre></bdo></b><th id='xSMrg'></th></span></q></dt></tr></i><div id='xSMrg'><tfoot id='xSMrg'></tfoot><dl id='xSMrg'><fieldset id='xSMrg'></fieldset></dl></div>

        <bdo id='xSMrg'></bdo><ul id='xSMrg'></ul>
    2. <legend id='xSMrg'><style id='xSMrg'><dir id='xSMrg'><q id='xSMrg'></q></dir></style></legend>

      <small id='xSMrg'></small><noframes id='xSMrg'>

      Eclipse JavaScript 编辑器:js 文件的内容辅助,自动完成

      Eclipse JavaScript Editor: content assist for js files, autocompletion(Eclipse JavaScript 编辑器:js 文件的内容辅助,自动完成)
    3. <legend id='MZPSS'><style id='MZPSS'><dir id='MZPSS'><q id='MZPSS'></q></dir></style></legend>
          <tbody id='MZPSS'></tbody>
        <tfoot id='MZPSS'></tfoot>

        <small id='MZPSS'></small><noframes id='MZPSS'>

          <bdo id='MZPSS'></bdo><ul id='MZPSS'></ul>
              <i id='MZPSS'><tr id='MZPSS'><dt id='MZPSS'><q id='MZPSS'><span id='MZPSS'><b id='MZPSS'><form id='MZPSS'><ins id='MZPSS'></ins><ul id='MZPSS'></ul><sub id='MZPSS'></sub></form><legend id='MZPSS'></legend><bdo id='MZPSS'><pre id='MZPSS'><center id='MZPSS'></center></pre></bdo></b><th id='MZPSS'></th></span></q></dt></tr></i><div id='MZPSS'><tfoot id='MZPSS'></tfoot><dl id='MZPSS'><fieldset id='MZPSS'></fieldset></dl></div>
              • 本文介绍了Eclipse JavaScript 编辑器:js 文件的内容辅助,自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在尝试将 Eclipse(带有 JavaEE 和 Web 开发插件)作为 JavaEE/GoogleAppEngine IDE.在 HTML 编辑器中,如果我将 <script ... src="..."/> 放入 <head> 我会自动获得 JavaScript 的内容辅助引用的文件.我想知道是否可以在 JavaScript 编辑器中获取其他 JavaScript 文件(例如 jQuery 或自制 js 库)的内容辅助.

                I'm trying Eclipse (with JavaEE and Web Development plugins) as a JavaEE/GoogleAppEngine IDE. In HTML editor if I put a <script ... src="..." /> in <head> I automatically get content assist for JavaScript in the referenced file. I was wondering if it was possible to obtain content assist for other JavaScript files (e.g. jQuery or homebrew js library) inside JavaScript editor.

                推荐答案

                我刚刚想通了如何在Eclipse JavaScript 编辑器(不使用Aptana 插件)中获取js 内容辅助:

                I just figured out how to obtain js content assist in Eclipse JavaScript editor (without Aptana plugins):

                如果项目类型本身不包含 JavaScript 支持:打开 Web(或 JavaScript)透视图,右键单击项目并选择 Web 开发支持 > 添加 JavaScript 支持(如果 JavaScript 支持已经存在,这不会有什么坏处)

                If the project type doesn't natively contain JavaScript Support: open Web (or JavaScript) perspective, right-click on the project and select Web Development Support > Add JavaScript Support (this won't hurt if JavaScript support is already present)

                然后在项目中右键单击 JavaScript Support 并选择 Properties,在 JavaScript 部分转到 JavaScript 库,然后选择 Source 选项卡:在这里您可以添加文件夹和当前项目的内容助手要扫描的文件

                then right-click JavaScript Support within the project and select Properties, in the JavaScript section go to JavaScript library and then select Source tab: here you can add folders and files to be scanned by content assist for the current project

                Aptana Studio 中(作为一个 Eclipse 插件,但我想独立版本几乎相同):打开任何 js 或 html 文件,显示 References 窗口(或打开Eclipse 中的 Aptana 透视图)和拖放 js 文件添加到 JavaScript 范围(可以使用不同的 JavaScript 文件和资源构建和激活不同的范围配置文件:只需单击窗口中的 添加配置文件工具栏)

                In Aptana Studio (as an eclipse plugin but I suppose the standalone version is almost the same): open any js or html file, show References window (or open Aptana perspective in eclipse) and drag-drop js files you want to add to JavaScript scope (it is possible to build and activate different scope profiles with different JavaScript files and resources: just click add profile in the window toolbar)

                这篇关于Eclipse JavaScript 编辑器:js 文件的内容辅助,自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Cannot load 64-bit SWT libraries on 32-bit JVM ( replacing SWT file )(无法在 32 位 JVM 上加载 64 位 SWT 库(替换 SWT 文件))
                How can I specify the default JVM arguments for programs I run from eclipse?(如何为从 Eclipse 运行的程序指定默认 JVM 参数?)
                Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined(JavaLaunchHelper 类在... libinstrument.dylib 中都实现了.将使用两者之一.哪个是未定义的) - IT屋-程序员软件开发技术分享
                Running Eclipse on Windows 7 JRE and JDK not found(找不到在 Windows 7 JRE 和 JDK 上运行 Eclipse)
                StringBuilder vs. .concat vs. quot;+quot; Operator relative performance different in eclipse than command line?(StringBuilder vs. .concat vs. “+eclipse中的操作员相对性能与命令行不同?)
                Is there a maximum number you can set Xmx to when trying to increase jvm memory?(尝试增加 jvm 内存时,您可以将 Xmx 设置为最大数量吗?)
                  • <bdo id='G7rOg'></bdo><ul id='G7rOg'></ul>
                    <i id='G7rOg'><tr id='G7rOg'><dt id='G7rOg'><q id='G7rOg'><span id='G7rOg'><b id='G7rOg'><form id='G7rOg'><ins id='G7rOg'></ins><ul id='G7rOg'></ul><sub id='G7rOg'></sub></form><legend id='G7rOg'></legend><bdo id='G7rOg'><pre id='G7rOg'><center id='G7rOg'></center></pre></bdo></b><th id='G7rOg'></th></span></q></dt></tr></i><div id='G7rOg'><tfoot id='G7rOg'></tfoot><dl id='G7rOg'><fieldset id='G7rOg'></fieldset></dl></div>
                    <tfoot id='G7rOg'></tfoot>
                      <tbody id='G7rOg'></tbody>

                        • <legend id='G7rOg'><style id='G7rOg'><dir id='G7rOg'><q id='G7rOg'></q></dir></style></legend>

                          <small id='G7rOg'></small><noframes id='G7rOg'>