Javascript文件编辑停止与Eclipse 2020-06一起使用 [英] Javascript file editing stopped working with Eclipse 2020-06

查看:742
本文介绍了Javascript文件编辑停止与Eclipse 2020-06一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

多年来,我一直在使用eclipse开发完全相同的文件目录。它只是工作。我正在使用PHP,CSS,JS,HTML文件。


有时,我会按照

解决方案

用于PHP开发人员的Eclipse IDE 由来自各种Eclipse项目的组件组成。在 Eclipse IDE 2020-06 版本中,不再为 .js 文件提供 JavaScript支持 JSDT ,但通过 Eclipse Wild Web Developer >。


野生的Web开发人员 不会提供单独的编辑器对于JavaScript,但通过代码完成,语法突出显示,验证,导航等扩展了通用文本编辑器。对于JavaScript,


重新获得JSDT JavaScript编辑器,您必须卸载 Eclipse Wild Web Developer 安装 2020-03 版本中的> JavaScript开发工具 ase(我想如果您都通过在2020-06版本中删除或禁用JavaScript编辑器解决了这两个问题):


  1. 卸载 Eclipse Wild Web Developer :在 帮助>关于Eclipse IDE:安装详细信息 ,在已安装的软件选项卡中,选择 Eclipse Wild Web Developer ,然后单击 卸载。 。

  2. 2020-03 安装 JavaScript开发工具 发布:在 帮助>中安装新软件... https://download.eclipse.org/releases/2020-03 并选择 JavaScript开发工具 安装

另请参见 Eclipse IDE 2020-06 > 新&值得注意> Eclipse PHP开发工具


I have been working on the exact same file directory with eclipse for many years. It just worked. I am using PHP, CSS, JS, HTML files.

Occasionally, I ran an automatic upgrade as described here. This also just worked.

Now after the latest upgrade, several things just stopped working:

  • In PHP files, the core commands are not auto-completed anymore. I searched for a solution, to no avail.
  • Javascript files don't get any special editor anymore.

Now my most pressing question is:

Where do I re-enable the good old Javascript editor?

Here's my Installation details:

解决方案

The Eclipse IDE for PHP Developers is made up of components from various Eclipse projects. In the Eclipse IDE 2020-06 release the JavaScript support for .js file is no longer provided by the JavaScript editor from JSDT, but by Eclipse Wild Web Developer.

Wild Web Developer does not provide a separate Editor for JavaScript, but extends the Generic Text Editor by code completion, syntax highlighting, validation, navigation, etc. for JavaScript.

To get back the JSDT JavaScript editor you have to uninstall Eclipse Wild Web Developer and install JavaScript Development Tools from the Eclipse IDE 2020-03 release (I guess the problems if you had both were solved by simply removing or disabling the JavaScript editor in the 2020-06 release):

  1. Uninstall Eclipse Wild Web Developer: In Help > About Eclipse IDE: Installation Details, in the Installed Software tab select Eclipse Wild Web Developer and click Uninstall...
  2. Install JavaScript Development Tools from the 2020-03 release: In Help > Install New Software... work with https://download.eclipse.org/releases/2020-03 and choose JavaScript Development Tools to install

See also Eclipse IDE 2020-06 > New & Noteworthy > Eclipse PHP Development Tools

这篇关于Javascript文件编辑停止与Eclipse 2020-06一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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