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_packages”中删除“ 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.