Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARouter Helper插件,在Kotlin中无法实现导航提示和跳转 #596

Open
chenfei0928 opened this issue Jan 7, 2019 · 6 comments
Open

Comments

@chenfei0928
Copy link

chenfei0928 commented Jan 7, 2019

AS导航跳转插件:ARouter Helper
在Kotlin代码中,无法显示跳转图标和点击跳转到目标类,在Java中正常

AS版本:3.2.1
插件版本:1.0.0

@zhi1ong
Copy link
Member

zhi1ong commented Jan 17, 2019

暂未支持 Kotlin 中的导航提示,可以从 Java 中跳转到 Kotlin 和 Java 文件,Kotlin 后续版本支持

@zhi1ong zhi1ong closed this as completed Jan 17, 2019
@chenfei0928
Copy link
Author

chenfei0928 commented Jan 17, 2019

相同的跳转目标,Kotlin下不显示跳转图标,Java下可以显示
打开IDE的日志记录,也只有打开Java文件时的ARouter跳转代码,而没有Kotlin文件中跳转相关的日志
AS 3.3
Kotlin扩展版本 1.3.11-release-Studio3.3-2
2019-01-17 11:16:12,430 [entQueue-0] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: .ignore (2.6.2), ARouter Helper (1.0.0), ApkMultiChannel (1.2)
2019-01-17 11:16:12,430 [entQueue-0] INFO - llij.ide.plugins.PluginManager - Disabled plugins: Android Resource Usage Count (2.1), Anko Support (0.10.7-2), CodeGlance (1.5.4), Dart (181.5656), FindBugs-IDEA (1.0.1), Flutter (31.3.1), HighlightBracketPair (1.1.2), JSON To Kotlin Class (JsonToKotlinClass) (2.3.0), Layout Master (1.0.2), PermissionsDispatcher plugin (2.0.1), Rainbow Brackets (5.14)

ARouterContract 为一个Kotlin写的interface,用于存放这些跳转url
image
image
idea.log

@KeqingLI
Copy link

@zhi1ong 目前在kotlin代码里仍不能快捷跳转,改issue已closed,请问是什么情况

@nEdAy
Copy link

nEdAy commented Oct 24, 2019

仍然停留1.0.0 仍为支持从kotlin跳转

@wangrunxiang
Copy link

还没支持,同求

@huage2580
Copy link

https://github.com/huage2580/arouter-idea-plugin-x
搜索来的朋友,用我改的插件替代吧,官方一点也不想处理这个需求

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants