【问题标题】:Find and Replace both not working after updating to Android Studio 4.2更新到 Android Studio 4.2 后,查找和替换都不起作用
【发布时间】:2021-07-30 21:11:57
【问题描述】:

我有一台 Mac。刚刚更新到 4.2,现在查找和替换都不起作用。键盘快捷键以及 Edit>Find>Find... 和 Replace... 菜单选项不起作用。我单击它们并没有打开任何东西,没有任何反应。我将键盘映射更改为 MacOS 无济于事。

在路径中查找和在路径中替换快捷方式和菜单选项都有效。

有什么帮助吗?

(刚刚也更新了 Flutter,但看不到任何变化。)

编辑:

这是我尝试使用 Find 时记录在日志中的内容。最后一行似乎是一个错误。

at com.intellij.find.SearchReplaceComponent.<init>(SearchReplaceComponent.java:201)
at com.intellij.find.SearchReplaceComponent.<init>(SearchReplaceComponent.java:50)
at com.intellij.find.SearchReplaceComponent$Builder.build(SearchReplaceComponent.java:697)
at com.intellij.find.EditorSearchSession.<init>(EditorSearchSession.java:118)
at com.intellij.find.EditorSearchSession.start(EditorSearchSession.java:260)
at com.intellij.openapi.editor.actions.IncrementalFindAction$Handler.doExecute(IncrementalFindAction.java:67)
2021-05-10 17:03:07,095 [  85136]  ERROR - llij.ide.plugins.PluginManager - Last Action: Find 

【问题讨论】:

  • idea.log(“帮助|显示登录...”)是否有错误?
  • 是的。我将编辑我的问题以包含它。

标签: flutter android-studio intellij-idea android-studio-4.2


【解决方案1】:

在找到 IntelliJ 的类似问题的 discussion(相同的错误消息)后,我尝试了这种解决方法。

我去了~Library/Application Support/Google/AndroidStudio4.2/options/other.xml并搜索了FindSplitterProportion。

原来是:

<property name="FindSplitterProportion" value="1.0360656" />

替换为:

<property name="FindSplitterProportion" value="0.2" />.

查找和替换现在似乎都可以工作了。

【讨论】:

  • 非常感谢,这救了我的命!!,我使用的是 windows,other.xml 的路径位于 C:\Users\\AppData\Roaming\Google\AndroidStudio4。 2\选项
猜你喜欢
  • 2013-12-13
  • 2017-08-14
  • 1970-01-01
  • 1970-01-01
  • 2017-02-20
  • 1970-01-01
  • 2013-05-11
  • 2012-10-20
  • 2021-07-28
相关资源
最近更新 更多