Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
149 views
in Technique[技术] by (71.8m points)

How to change Run window view to just the output in IntelliJ in a Gradle-based project

It currently looks like this, which is very similar to the Debug window's console, and which I do not like.

Before it used to show something along the lines of

*java kotlinc stuff like that commands here(It was condensed so I'm not sure on the exact details)*

Part 1: 232
Part 2: 1783

Now it shows the above screenshot.

I'm not sure what caused this issue, I was having a few issues with the Kotlin plugin, I proceeded to reinstall and restart IntelliJ it which fixed the issues I was having but it changed the view to this.

I'm running on version 2020.3.1 of IntelliJ Ultimate

question from:https://stackoverflow.com/questions/65651884/how-to-change-run-window-view-to-just-the-output-in-intellij-in-a-gradle-based-p

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

For Gradle-based projects, IDE by default delegates the build and run actions to Gradle.

If you want to run and build with IDE's own runner and builder, switch to IntelliJ IDEA the Settings (Preferences on macOS) | Build, Execution, Deployment | Build Tools | Gradle | Build and run using.

See also Configure the build and run actions documentation about this functionality.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...