I use Sublime Text 3 for web development. From time to time, it starts PHP process with CPU usage of 100%. My Mac starts to be laggy then and fans are loud.

我使用Sublime Text 3进行Web开发。它有时会启动PHP进程,CPU使用率为100%。我的Mac开始变得迟钝而且粉丝很响亮。

How can I investigate why is it happening? I think it's one of the plugins that I'm using: SublimeLinter-php or SublimeLinter-phpcs, but I'm not sure.

我该如何调查它为什么会发生?我认为这是我正在使用的插件之一:SublimeLinter-php或SublimeLinter-phpcs,但我不确定。

Is there any way to check it out other than just disabling plugins and waiting if that happens? That would be troublesome, because sometimes it happens after a few hours and development without them is troublesome for me. Have you experience this kind of behavior with Sublime Text 3?

有没有办法检查出来除了禁用插件和等待,如果这发生?那会很麻烦,因为有时它会在几个小时后发生,没有它们的发展对我来说很麻烦。您是否使用Sublime Text 3体验过这种行为?

6 个解决方案

#1


25

It might be caused by Sublime's file indexing. (https://github.com/SublimeTextIssues/Core/issues/537)

它可能是由Sublime的文件索引引起的。 (https://github.com/SublimeTextIssues/Core/issues/537)

Try adding "index_files": false to your user preferences (Preferences > Settings - User) and see if that helps.

尝试将“index_files”:false添加到您的用户首选项(首选项>设置 - 用户),看看是否有帮助。

If it does, you might be able to troubleshoot it using this page: http://www.sublimetext.com/blog/articles/file-indexing

如果是,您可以使用此页面对其进行故障排除:http://www.sublimetext.com/blog/articles/file-indexing

更多相关文章

  1. weiphp插件开发注意
  2. 如何将Composer中的CakePHP插件安装到app / Plugin中
  3. 当我耗尽一个bigint生成的键时会发生什么?如何处理它?
  4. 计算mysql中每天的发生次数
  5. 保持最新的一个字段值,直到它发生变化,然后保持其最新的字段值
  6. Ruby 1.9 + MySQL中发生访问错误
  7. MySQL“在建立到SQL Server的连接时发生与网络相关或特定于实例
  8. jQuery通过igorescobar jQuery掩码插件验证电话号码输入。
  9. 一旦db通过Node.js发生更新,就立即推送数据

随机推荐

  1. Windows环境下Android(安卓)Studio v1.0
  2. android在文本中添加超链接
  3. android aidl通讯详解
  4. 浅谈Android(安卓)ANR在线监控原理
  5. Android 入门教程:Android Studio 介绍
  6. Android 常用布局说明
  7. Android Edittext 显示光标 获取焦点 监
  8. android xml控件属性
  9. JS判断客户端是否是iOS或者Android
  10. 3.Spinner