PhpStorm-使用Blade突出显示错误的语法 [英] PhpStorm - wrong syntax highlighting with Blade
本文介绍了PhpStorm-使用Blade突出显示错误的语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在PhpStorm中创建Blade模板时,例如 login.blade.php ,语法突出显示即可正常工作.但是当我将其命名为 layout.blade.php 时,它没有.为什么?我该如何解决?
When I create a Blade template in PhpStorm, for example login.blade.php, syntax highlighting works correctly. But when I name it layout.blade.php, it doesn't. Why? How can I fix it?
推荐答案
-
Settings (Preferences on Mac) | Editor | File Types
-
Text files
- 查找并摆脱不需要的模式(很可能类似于
layout.blade
之类的东西.
Settings (Preferences on Mac) | Editor | File Types
Text files
- Find and get rid of unwanted pattern (most likely will something be similar to
layout.blade
or alike.
这篇关于PhpStorm-使用Blade突出显示错误的语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文