-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add explicit support for bundled PhpStorm language syntax #153
Add explicit support for bundled PhpStorm language syntax #153
Conversation
PhpStorm [1] ships with support for specific languages, frameworks and libraries for PHP development and of course advanced highlighting for PHP. Due to the same problems documented in GH-120 (and mitigated in GH-121) some syntax theme keys required to be replaced with explicit definitions instead of reyling on color inheritances. Therefore this commit adds explicit support for PhpStorm's bundled language syntax: 1. Main support for "PHP" [2][3] 2. Laravel "Blade" Temapltes [4][5][6] 3. "Twig" template engine [7][8][9] 4. "Smarty" templates [10][11] [1]: https://www.jetbrains.com/phpstorm [2]: https://www.php.net [3]: https://plugins.jetbrains.com/plugin/6610-php [4]: https://laravel.com/docs/7.x/blade [5]: https://www.jetbrains.com/help/phpstorm/blade-page.html [6]: https://plugins.jetbrains.com/plugin/7569-blade [7]: https://twig.symfony.com [8]: https://www.jetbrains.com/help/phpstorm/symfony-twig.html [9]: https://plugins.jetbrains.com/plugin/7303-twig [10]: https://www.smarty.net [11]: https://www.jetbrains.com/help/phpstorm/smarty.html Related to GH-120,GH-121 GH-151 Co-authored-by: Sven Greb <development@svengreb.de>
Is there any ETA for releasing 0.12? This changes are waiting too long. 😉 |
@MatyCZ For almost all port projects it's always a question about finding time to write the release notes, prepare the version and deploy it to the publishing system. I've planned to release some new port projects on Friday, but no later than Saturday if it doesn't work out. |
Add explicit support for bundled PhpStorm language syntax PhpStorm [1] ships with support for specific languages, frameworks and libraries for PHP development and of course advanced highlighting for PHP. Due to the same problems documented in GH-120 (and mitigated in GH-121) some syntax theme keys required to be replaced with explicit definitions instead of relying on color inheritances. Therefore this commit adds explicit support for PhpStorm's bundled language syntax: 1. Main support for "PHP" [2] and the official JetBrains plugin [3] 2. Laravel "Blade" Templates [4] See JetBrains official "Blade" documentation [5] and the plugin [6] for more details. 3. "Twig" template engine [7] See JetBrains official "Twig" documentation [8] and the plugin [9] for more details. 4. "Smarty" templates [10] See JetBrains official "Smarty" documentation [11] for more details. [1]: https://www.jetbrains.com/phpstorm [2]: https://www.php.net [3]: https://plugins.jetbrains.com/plugin/6610-php [4]: https://laravel.com/docs/7.x/blade [5]: https://www.jetbrains.com/help/phpstorm/blade-page.html [6]: https://plugins.jetbrains.com/plugin/7569-blade [7]: https://twig.symfony.com [8]: https://www.jetbrains.com/help/phpstorm/symfony-twig.html [9]: https://plugins.jetbrains.com/plugin/7303-twig [10]: https://www.smarty.net [11]: https://www.jetbrains.com/help/phpstorm/smarty.html Related to GH-120, GH-121 Closes GH-151 Co-authored-by: Sven Greb <development@svengreb.de>
@MatyCZ Sorry, missed to push the update before my holidays. Anyway, version 0.12.0 is now available and shipped to the JetBrains Plugin Registry. The update is currently processed and should be available within the next 24h from Nord's plugin page. |
Related to #120, #121
Closes #151
PhpStorm ships with support for specific languages, frameworks and libraries for PHP development and of course advanced highlighting for PHP itself. Due to the same problems like documented in #120 (mitigated in #121) some syntax theme keys required to be replaced with explicit definitions instead of relying on color inheritances.
Therefore this PR adds explicit support for PhpStorm's bundled language syntax:
See JetBrains official “Blade“ documentation and the plugin for more details.
See JetBrains official “Twig“ documentation and the plugin for more details.
See JetBrains official “Smarty“ documentation for more details.
PHP syntax highlighting before and after
Blade syntax highlighting before and after
Twig syntax highlighting before and after
Smarty syntax highlighting before and after