2016-10-14 42 views
1

在我的事件日誌中的IntelliJ IDEA 2016年,我曾經看到這樣一條消息:如何開始查看我選擇不再看到的事件日誌消息?

未連接的搖籃項目?
Import Gradle project,這也將啓用Gradle工具窗口。
不想再次看到該項目的消息:press here

在某些時候,我點擊了「press here」鏈接,指出我不想再看到該消息。從那以後,我決定再次看到它。

如何開始查看我選擇不再看到的此事件日誌消息?

回答

0

您可以重新啓用通知,從(顯然)氣囊彈出窗口和日誌Notifications設置窗口,您可以(至少)打開2種方式:

1)從上的設置按鈕Event log窗口中點擊

event log

2)File - >Settings - >Appearance & behaviour - >Notifications

enter image description here

0

我剛剛試過了已詢問的具體通知(Unlinked Gradle Project?)。 我發現重新啓用通知的唯一方法是刪除項目中的.idea文件夾,然後重新打開Intellij中的項目。

其他通知,如Maven: non-managed pom.xml按預期工作,所以此錯誤特定於Unlinked Gradle Project?通知。

這似乎是在IntelliJ IDEA的,因爲這構建了一個錯誤:

IntelliJ IDEA 2016.2.5 
Build #IU-162.2228.15, built on October 14, 2016 
JRE: 1.8.0_112-release-287-b2 x86_64 
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o 

我提出一個問題,對於這一點:https://youtrack.jetbrains.com/issue/IDEA-162936

另外,我發現,這些通知設置不存儲在一個項目特定的文件。該文件在OSX上爲~/Library/Preferences/IntelliJIdea2016.2/options/notifications.xml,在Windows上,它將駐留在根據this的文件夾中。

這些對於我的文件的內容,當我在測試此通知:

<application> 
    <component name="NotificationConfiguration"> 
    <notification groupId="Gradle Notification Group" shouldReadAloud="true" /> 
    <notification groupId="Maven: non-managed pom.xml" displayType="STICKY_BALLOON" shouldLog="false" /> 
    <notification groupId="Project Startup Tasks Messages" displayType="STICKY_BALLOON" /> 
    </component> 
</application> 

我注意到,改變了「搖籃通知組」彈出式正確更新~/Library/Preferences/IntelliJIdea2016.2/options/notifications.xml,但是彈出即使類型是'BALLOON'或'STICKY_BALLOON',但不會導致Intellij重新通知用戶有關Unlinked gradle project