【问题标题】:How to stop UI flashing when I save changes in Atom当我在 Atom 中保存更改时如何停止 UI 闪烁
【发布时间】:2020-05-27 18:10:28
【问题描述】:

每当我保存更改时,UI 都会闪烁几次。我知道 Atom 是用 Electron 构建的,它使用浏览器窗口作为显示,但我认为 UI 在保存期间不必像这样重新加载。让人分心。

这是正常的还是我可以使用设置来阻止它发生?

我在跑步:

OS : Ubuntu 16.04 LTS

Atom    : 1.46.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

编辑:

更新到:

Atom    : 1.47.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0

问题依旧

【问题讨论】:

  • prob this github.com/atom/atom/issues/15323 btw vscode 更好;p
  • 我无法复制它。你的 Atom 不是最新的,所以也许你应该更新它。您可能希望将所有设置重置为默认设置并慢慢调整,直到您解决了问题。
  • 您能否按照debugging guidelines 的建议在安全模式下重现此行为?
  • 在安全模式下运行消除了这个问题。谢谢

标签: atom-editor


【解决方案1】:

我安装了一个名为 linter-ui-default 的软件包,禁用它会在正常启动时完全移除 UI 闪烁。

我已经卸载了linter-ui-default 并安装了linter-ui-plus https://atom.io/packages/linter-ui-plus。这给了我一个用于我的 linting 警报的 UI,并且 Atom UI 不再闪烁

【讨论】:

    猜你喜欢
    • 2013-07-31
    • 1970-01-01
    • 2018-12-23
    • 1970-01-01
    • 2023-01-02
    • 1970-01-01
    • 1970-01-01
    • 2010-12-29
    • 2015-03-24
    相关资源
    最近更新 更多