簡體   English   中英

eclipse 2020-06 語法突出顯示不適用於 php 或 ZFC35FDC70D5FC69D2EZE368 文件中的內聯 javascript

[英]eclipse 2020-06 syntax highlighting not working with inline javascript in php or html file

我有一個舊版本的 eclipse - 可能是 2018-12 - 一切都很好。 然后我升級了它,因為它顯示了一些新語法的錯誤。

Now, javascript syntax highlighting and other associated things like automatic indent, brackets assistance etc are working with.js files, but when I write any javascript inside a php or html file using script tags, the code is simply black text.

我閱讀了關於這個問題的其他問題,但它們都是關於它根本不起作用的。 它適用於我,但僅適用於 in.js 文件。

我確實嘗試從 2020-03 卸載野生 web 開發人員並安裝 JSDT,但這沒有幫助。 然后我將 JSDT 升級到最新版本 - 仍然無法正常工作。 最后,我完全卸載了 eclipse 並重新安裝了 eclipse 的 PHP ZEFE90A8E6036A7C840E76D8D。 默認情況下,它有野生 web 開發人員。 仍然是相同的行為。

我該如何解決這個問題?

Install the new "Eclipse Web JavaScript Developer Tools" feature (and the related one for JSPs if you need it) from the 2020-09 prerelease site, https://download.eclipse.org/releases/2020-09/ . 它們包含在 2020-06 Enterprise Java package 中,但未完全設置為稍后使用 2020-06 更新站點進行安裝。 2020-06 也失去了對 JavaScript 文件中任務標簽的支持,因為 Wild Web 開發人員不支持它們; 它將在 2020-09 的最終版本中回歸。

JSP 的 Eclipse Web JavaScript 開發者工具和相關特性

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM