主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录

Tobias Olsson

Avatar
  • 活动总数 4
  • 最后的活动 2017年01月10日 00:07
  • 成员加入日期 2017年01月02日 16:13
  • 关注 0 名用户
  • 关注者数 0 名用户
  • 投票数 0
  • 订阅数 1
活动概览 帖子(1) 评论(2)
按最近的活动排序 最近的活动 投票数
  • 创建于 2017年01月10日 00:07
    While the question above IS still interesting, I solved it in a imho better way by getting the module of the class being enhanced and looking through that's GlobalSearchScope, and then using the pr...
    1. 社区
    2. IntelliJ IDEA Open API and Plugin Development
    3. Getting VirtualFile for an _inner_ class in a library dependency
    • 0 票
  • 创建于 2017年01月09日 21:54
    Thanks! That did it! Basically just use projectIndex instead of module to get the 3rd party dependencies. I.e. ProjectFileIndex.getInstance(psiClass.getProject()) .getClassRootForFi...
    1. 社区
    2. IntelliJ IDEA Open API and Plugin Development
    3. Getting VirtualFile for an _inner_ class in a library dependency
    • 0 票
Copyright © 2000– JetBrains s.r.o.