Skip to content

解决在IDEA里,autoconfig在跑JUnit测试时,不能输入的问题 #48

@hengyunabc

Description

@hengyunabc

IDEA 官方的issue:

官方的解法是给IDEA配置启动参数 editable.java.test.console=true

实测在mac下面,要修改 /Applications/IntelliJ IDEA CE.app/Contents/bin/idea.properties ,增加

editable.java.test.console=true

image

理论上,修改 /Applications/IntelliJ IDEA CE.app/Contents/bin/idea.vmoptions,加上下面的配置也应该生效。但实际上并不起作用,原因不明。

-Deditable.java.test.console=true
  • 测试版本是 IntelliJ IDEA CE 2019.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions