IntelliJ IDEA 2018.2.4 已发布，这是 v2018.2 的第四个修复更新版本，完整更改列表可查阅发行说明。
For starters, the IDE loads the correct context when switching between tasks which are configured with branches when the “Restore workspace on branch switching ” option is enabled in Preferences / Settings | Version control | Confirmation.
fixed a couple of regressions. Now the IDE creates a process with the correct version of the Gradle wrapper. Git clone operations are also now listed in the log.
Furthermore, the IDE doesn’t show Android scope in the Project tool window for non-Android projects anymore, and as for Android-specific actions they aren’t enabled in non-Android projects.
fixed the IntelliJ IDEA freezes.