【问题标题】:How to load sources of a kotlin compiler (kotlin-compiler-embeddable) in Idea?如何在 Idea 中加载 kotlin 编译器(kotlin-compiler-embeddable)的源代码?
【发布时间】:2020-06-14 14:59:22
【问题描述】:

对不起这个愚蠢的问题,答案应该很明显,但我找不到。我有一些家庭失明之王。

我正在尝试加载 Kotlin 编译器的源代码以查看实现,例如: org.jetbrains.kotlin.com.intellij.lang.ASTNode

我正在添加这个依赖:

    <dependency>
        <groupId>org.jetbrains.kotlin</groupId>
        <artifactId>kotlin-compiler-embeddable</artifactId>
        <version>1.3.72</version>
    </dependency>
    </dependencies>

我看到的唯一内容是Intellij Idea 建议下载源代码,但此按钮没有任何效果:

有人知道我如何下载和附加这些资源吗?

UPD:看起来源是空的,IDE 没有处理这种情况...

https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.72/

【问题讨论】:

  • 如果有帮助,您可以接受答案

标签: maven kotlin intellij-idea jetbrains-ide


【解决方案1】:

您可以从 Preferences -> Build, Execution Deployment -> Build Tools -> Maven -> Importing :: Automatically Download : Sources 启用下载源代码

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2017-01-04
  • 2020-08-20
  • 1970-01-01
  • 2020-01-12
  • 1970-01-01
  • 1970-01-01
  • 2020-05-27
相关资源
最近更新 更多