Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Syntax for Sublime Text 4137+ #195

Merged
merged 1 commit into from
Dec 24, 2022
Merged

Rewrite Syntax for Sublime Text 4137+ #195

merged 1 commit into from
Dec 24, 2022

Conversation

deathaxe
Copy link
Contributor

This PR proposes a re-written Laravel Blade syntax for Sublime Text 4137+,
which extends rewritten PHP syntax and makes use of latest syntax engine features.

It resolves issues #191 and #194 by embedding extended JS/CSS syntaxes.

Changelog

This release comes with a number of breaking changes
which may require some adjustments for snippets or plugins to continue working!

  1. Primary syntax definition is HTML (Blade).

    The name follows a common naming scheme being used for various template syntaxes
    and expresses HTML to be the base syntax being extended by Blade template code.

    This release also ships with CSS (Blade) and JavaScript (Blade), which can
    be used to highlight standalone CSS/JS templates, if ever needed.

  2. The already existing text.html.blade is now the main scope replacing text.blade.

    This is also to expresses Blade being based on HTML.

  3. Scope names have completely been overhauled/refactored to follow current guidelines
    and to express semantic meaning of certain expressions more accurately.

Preparations

To maintain compaitibility with existing packages on Package Control various PRs have been opened.

Package Preparations
A File Icon Required changes released with 3.19.x
Laravel Blade Snippets PR dev4dev/blade-snippets#50
LSP-tailwind PR sublimelsp/LSP-tailwindcss#52

Notes

In case you are no longer interested in maintaining this package, please considder transfering it to SublimeText organization so community can continue doing so.

@Medalink Medalink merged commit a44a0d3 into Medalink:master Dec 24, 2022
@Medalink
Copy link
Owner

@deathaxe thanks a ton for the major update. Very much appreciated.

@deathaxe deathaxe deleted the st4 branch December 25, 2022 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants