打开时 Sublime Text 出错。blade.php
Error in Sublime Text while opening .blade.php
当我打开 Sublime Text 编辑器时,所有文本颜色都变成白色,并且没有准确的字体颜色标签。
打开 sublime 文本编辑器时出错:
Error loading syntax file "Packages/Laravel Blade
Highlighter/blade.sublime-syntax": Apparent recursion within a
with_prototype action: 25000 context sanity limit hit
几天前我遇到了同样的问题,我found there is a solution; CSS 3 包在使用 Laravel Blade Highlighter 包时遇到问题。您应该在命令面板上使用 Package Control: Disable Package CSS3
禁用 CSS 3 包,重新启动 Sublime Text,然后它将按预期工作。
在那里你可以阅读评论:
Hi, I'm the author of CSS3. I was able to reproduce the issue when
both the default CSS package and CSS3 were enabled. I recommend
disabling the default CSS package in my install notes, but I
understand that many people can't do that because they use a package
that depends on the default CSS package (like Laravel Blade).
The clumsy workaround is to enable/disable CSS and CSS3. When you're
working on blade files, you can Package Control: Disable Package CSS3
and enable CSS. If you're working primarily with pure CSS files, I
recommend disabling CSS and enabling CSS3.
Sorry, I know that's an awkward solution. If I think of something
better, I'll post it here.
当我打开 Sublime Text 编辑器时,所有文本颜色都变成白色,并且没有准确的字体颜色标签。
打开 sublime 文本编辑器时出错:
Error loading syntax file "Packages/Laravel Blade
Highlighter/blade.sublime-syntax": Apparent recursion within a
with_prototype action: 25000 context sanity limit hit
几天前我遇到了同样的问题,我found there is a solution; CSS 3 包在使用 Laravel Blade Highlighter 包时遇到问题。您应该在命令面板上使用 Package Control: Disable Package CSS3
禁用 CSS 3 包,重新启动 Sublime Text,然后它将按预期工作。
在那里你可以阅读评论:
Hi, I'm the author of CSS3. I was able to reproduce the issue when both the default CSS package and CSS3 were enabled. I recommend disabling the default CSS package in my install notes, but I understand that many people can't do that because they use a package that depends on the default CSS package (like Laravel Blade).
The clumsy workaround is to enable/disable CSS and CSS3. When you're working on blade files, you can Package Control: Disable Package CSS3 and enable CSS. If you're working primarily with pure CSS files, I recommend disabling CSS and enabling CSS3.
Sorry, I know that's an awkward solution. If I think of something better, I'll post it here.