From 3994103da83fc7313f2494ff69100c8c5b7f5e5a Mon Sep 17 00:00:00 2001 From: mjj Date: Wed, 14 Nov 2018 10:46:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E6=96=B0=E5=A2=9Eview?= =?UTF-8?q?=E4=B8=8D=E5=87=BA=E7=8E=B0=E5=9C=A8=E7=94=9F=E6=88=90=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- src/main/kotlin/extensions/PsiExtensions.kt | 2 +- src/main/resources/META-INF/plugin.xml | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index f3c55a8..a064a9e 100644 --- a/build.gradle +++ b/build.gradle @@ -24,4 +24,4 @@ dependencies { } group 'me.majiajie' -version '1.1.2' \ No newline at end of file +version '1.1.3' \ No newline at end of file diff --git a/src/main/kotlin/extensions/PsiExtensions.kt b/src/main/kotlin/extensions/PsiExtensions.kt index e57a26f..2b623c6 100644 --- a/src/main/kotlin/extensions/PsiExtensions.kt +++ b/src/main/kotlin/extensions/PsiExtensions.kt @@ -32,7 +32,7 @@ fun PsiFile.getAndroidViewIds(): ArrayList { val factory = SAXParserFactory.newInstance() val parser = factory.newSAXParser() - parser.parse(this.virtualFile.inputStream,object :DefaultHandler(){ + parser.parse(this.text.byteInputStream(),object :DefaultHandler(){ override fun startElement(uri: String?, localName: String?, qName: String?, attributes: Attributes?) { if ("include".equals(qName, ignoreCase = true)) { val layout = attributes?.getValue("layout") diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index da44b3c..197db62 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -1,7 +1,7 @@ me.majiajie.ideaplugin.findviewforandroid FindViewForAndroid - 1.1.2 + 1.1.3 MJJ 1.1.3 +
    +
  • fix bug
  • +
1.1.2
  • modify dialog size