简体   繁体   中英

JavaScript syntax in sublime text is missing?

我找不到JavaScript

I was trying to add JavaScript syntax and I can't find it.

This version of Sublime does include a default Syntax viewer via a package. Verify that the file:

./Contents/MacOS/Packages/JavaScript.sublime-package

exists within your Sublime text install. (The above is for OSX. There is a similar path on Windows). If the file is missing, you may have to reinstall or find the package on the Internet.

A simple work-around would be to install a package such as https://packagecontrol.io/packages/JavaScript%20Ultimate . This has an improved syntax highlighter over the standard syntax highlighter.

转到Sublime Text-> Preferences-> Settings,然后在右面板(Preferences.sublime-settings-settings-User)中从“ ignored_pa​​ckages”中删除“ Javascript”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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