Report exceptions from Android Extensions (KT-7355)
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
<idea-plugin version="2" url="http://kotlin.jetbrains.org">
|
<idea-plugin version="2" url="http://kotlinlang.org">
|
||||||
<id>org.jetbrains.kotlin.android</id>
|
<id>org.jetbrains.kotlin.android</id>
|
||||||
|
|
||||||
<name>Kotlin Extensions For Android</name>
|
<name>Kotlin Extensions For Android</name>
|
||||||
<description>Various extensions facilitating Android development in Kotlin</description>
|
<description>Various extensions facilitating Android development in Kotlin</description>
|
||||||
<version>@snapshot@</version>
|
<version>@snapshot@</version>
|
||||||
<vendor url="http://www.jetbrains.com">JetBrains Inc.</vendor>
|
<vendor url="http://www.jetbrains.com">JetBrains s.r.o.</vendor>
|
||||||
|
|
||||||
<!-- IDEA VERSION -->
|
<!-- IDEA VERSION -->
|
||||||
|
|
||||||
@@ -22,6 +22,8 @@
|
|||||||
<renamePsiElementProcessor id="KotlinAndroidSyntheticProperty"
|
<renamePsiElementProcessor id="KotlinAndroidSyntheticProperty"
|
||||||
implementation="org.jetbrains.kotlin.android.synthetic.idea.AndroidRenameProcessor"
|
implementation="org.jetbrains.kotlin.android.synthetic.idea.AndroidRenameProcessor"
|
||||||
order="first"/>
|
order="first"/>
|
||||||
|
|
||||||
|
<errorHandler implementation="org.jetbrains.kotlin.plugin.android.AndroidExtensionsReportSubmitter"/>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
||||||
<extensions defaultExtensionNs="org.jetbrains.kotlin">
|
<extensions defaultExtensionNs="org.jetbrains.kotlin">
|
||||||
|
|||||||
+24
@@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2010-2015 JetBrains s.r.o.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package org.jetbrains.kotlin.plugin.android
|
||||||
|
|
||||||
|
import com.intellij.diagnostic.ITNReporter
|
||||||
|
import com.intellij.openapi.diagnostic.IdeaLoggingEvent
|
||||||
|
|
||||||
|
public class AndroidExtensionsReportSubmitter : ITNReporter() {
|
||||||
|
override fun showErrorInRelease(event: IdeaLoggingEvent?) = true
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user