corneliusio / svelte-sublime

💡Sublime Text syntax highlighting for Svelte components
MIT License
59 stars 6 forks source link

Syntax highlighting not working on Sublime Text 4 #25

Closed juangiordana closed 2 years ago

juangiordana commented 2 years ago

When opening .svelte files the in Sublime Text 4 the syntax highlighting is not being activated by default.

Looking at the console I see this message: ignored packages updated to: ["Svelte", "Vintage"]

istudyatuni commented 2 years ago

This message appears when you disable/enable a package. Perhaps you have disabled it?

corneliusio commented 2 years ago

@juangiordana

@istudyatuni is correct, you may have accidentally disabled it at some point. That said, I have some fixes I need to get released for ST4 which may also be causing this though I haven't seen it happen before. Regardless, there should be a new release for better ST4 compatibility soon.

juangiordana commented 2 years ago

I tried this with an empty configuration before reporting the bug.

juangiordana commented 2 years ago

This issue happened to me again this week. For some reason the plugin messes with the ignored_packages setting in Sublime Text 4. After correcting settings it worked as expected. This was a again a pristine setup I was working with.

hellafont commented 2 years ago

I'm also seeing this issue in ST4 however my ignored-packages do not list Svelte

corneliusio commented 2 years ago

Want to apologize for my absence on this project for the last few months. I've been extremely overloaded with my full-time work since the beginning of the year and it has made it impossible to address these issues in a timely manner. That said, things are leveling back out now and I will be addressing this and other issues in the next week or two.

Appreciate everyone's patients as I know how frustrating it can feel to be at the mercy of an open-source project that isn't keeping up with changes and fixes without any real recourse. This repo is not abandoned and I will absolutely be continuing to maintain it for the foreseeable future.

corneliusio commented 2 years ago

Fixes for this have been deployed and can be accessed at https://github.com/corneliusio/svelte-sublime/releases/tag/st4-3.5.0 if you're interested in downloading manually.

Due to changes to the package control channel, I was forced to submit an update to them as well to handle releases for ST3 and ST4 respectively. https://github.com/wbond/package_control_channel/pull/8522 This will likely take a few days to be merged in, so in the meantime, the best way to get these updates is by manually installing from here.

I will leave this issue open for the time being for anyone to submit feedback in case they run into problems but will presume the issue is resolved once the package control channel has been updated.