gradle不显示文件 idea,在Gradle构建后,Intellij Idea在消息工具窗口中不显示错误

Intellij Idea 14.1.2, Gradle 2.3

I have a project with few java subprojects. Gradle builds works as expected but Intellij Idea does not capture the output of it and does not show the Messages Tool Window where you can click on the error and go to the source file.

Steps to reproduce:

Create new gradle project

Create new class with one method

Introduce intentionally one error

Build using Gradle tool window

Expected result: Message Tool window will show up showing the error.

Actual result: Output is shown in the Run tool window, but the Message window is not shown (it's menu item is not even active in View -> Tool windows)

I've tryed to reimport the project, to create it from scratch, searched Idea's settings, manipulated manually values in *.iml but with no success and I am running out of ideas.

Any idea where I can find a setting that tells the IDE to direct output to the Messages window?

解决方案

In Intelij 16.2 I had this problem as well. In the top left corner of the "Run" window there is an odd looking button that when you mouse over is labeled "Toggle tasks executions/text mode." Click it and it will show you the output from the Gradle build instead of the steps in the task execution.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值