clemos / haxe-sublime-bundle

Sublime Text bundle for Haxe programming language
Apache License 2.0
237 stars 86 forks source link

Haxe plugin does not work anymore #67

Closed TheHippo closed 11 years ago

TheHippo commented 11 years ago

Since a few days a got the follwing error messages when starting sublime. (And Haxe support obviously does not work anymore)

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

(I'm on Ubuntu 12.04 64bit)

clemos commented 11 years ago

We have recently (today, actually) renamed the plugin from HaXe to Haxe to match the official casing.

If you installed the package manually, you'll need to rename the Packages/HaXe folder to Packages/Haxe, and eventually remove any .cache and .pyc files inside it.

If you installed the plugin through Package Control, the rename should be transparent, but in case you have problems, you can try to remove and reinstall it.

Sorry for the inconvenience; I have tried to be careful with Package Control users, but AFAIK there's nothing I can do for manual installations.

Please confirm either of these methods work, and I'll write something in the readme page.

TheHippo commented 11 years ago

I installed through package control and still getting these error. (But I somehow edited some files, mostly the snippets.) I will look into this. Simply uninstalling and installing it again does not helped.

TheHippo commented 11 years ago

Okay. This can be closed. Simply close all Haxe files in your project and reopen them will fix this issue. :-)

johnfn commented 11 years ago

I too was having problems, even though I installed with the package manager (as far as I can remember...). I fixed it by simply uninstalling and reinstalling the package.

TheHippo commented 11 years ago

As far as I know reinstalling is nessecary, because the plug in and the language name have changed.

clemos commented 11 years ago

I haven't been able to test it properly, but Package Control maintainers told me renaming should work, except maybe on Windows (see https://github.com/wbond/package_control_channel/pull/891) I just hope Haxe won't change name again ;)