【Sublime】"Error loading syntax file" for coffeescript syntax file

  Today I open my sublime, it always alert this message and can't highlight and compile my coffee files.

Error loading syntax file "Packages/CoffeeScript/Syntaxes/CoffeeScript.tmLanguage": Error parsing plist xml: Failed to open file In file "Packages/CoffeeScript/Syntaxes/CoffeeScript.tmLanguage"

  

  I think there may be something updated or changed. So I try re-install it and here is the solution:

  1. It's important to close out all tabs in sublime text (probably would work if you only closed out the Cofeescript tabs, but I don't have another chance to try it, maybe you can have a try)
  2. Remove the Coffeescript plugin with Package Control
  3. Close ST2 and Re-Open
  4. Re-install the Coffeescript plugin with Package Control.
  5. Open a coffeescript file and the coffescript plugin should work.

≡≡≡≡≡≡≡≡≡≡★ From Laker's blog ★≡≡≡≡≡≡≡≡≡≡

¤ ╭⌒╮☀Coding and changing~☀ ╭╭ ⌒╮

✪Fighting and insisting~✪

原文地址:https://www.cnblogs.com/younglaker/p/3290087.html