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