当我打开 Sublime Text 编辑器时,所有文本颜色都变成白色,并且没有确切的字体颜色标签。
打开 Sublime Text 编辑器时出错:
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 荧光笔包时遇到了麻烦。您应该使用命令面板上的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.
关于laravel - 打开 .blade.php 时 Sublime Text 出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45915272/