Skip to content

Commit

Permalink
修复 新增view不出现在生成列表的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
tyzlmjj committed Nov 14, 2018
1 parent ea34119 commit 3994103
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ dependencies {
}

group 'me.majiajie'
version '1.1.2'
version '1.1.3'
2 changes: 1 addition & 1 deletion src/main/kotlin/extensions/PsiExtensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fun PsiFile.getAndroidViewIds(): ArrayList<Element> {
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")
Expand Down
6 changes: 5 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin>
<id>me.majiajie.ideaplugin.findviewforandroid</id>
<name>FindViewForAndroid</name>
<version>1.1.2</version>
<version>1.1.3</version>
<vendor email="[email protected]" url="https://github.com/tyzlmjj/FindViewForAndroid">MJJ</vendor>

<description><![CDATA[
Expand All @@ -10,6 +10,10 @@
</description>

<change-notes><![CDATA[
<b>1.1.3</b>
<ul>
<li>fix bug</li>
</ul>
<b>1.1.2</b>
<ul>
<li>modify dialog size</li>
Expand Down

0 comments on commit 3994103

Please sign in to comment.