GithubHelp home page GithubHelp logo

Comments (8)

maseev avatar maseev commented on June 12, 2024

After the restart, the IDE was able to pick up the source code for the Scala plugin automatically.

from sbt-idea-plugin.

mutcianm avatar mutcianm commented on June 12, 2024

Hm, sbt-idea-plugin indeed does not download sources of the plugins from the plugin repo at the moment, but it's a reasonable feature request.
I'm not completely sure why the IDE was able to pick up the source code for the Scala plugin.

from sbt-idea-plugin.

maseev avatar maseev commented on June 12, 2024

I completely forgot that I ended up downloading the source code for the Scala plugin myself by cloning the GitHub repo and setting the source code root inside the IDE.

from sbt-idea-plugin.

maseev avatar maseev commented on June 12, 2024

I've got zio-intellij imported in IntelliJ IDEA and I can access the source code of the Java plugin but not the Scala plugin source code. Something tells me that the Scala plugin comes without any source code when you specify it as a plugin you depend on in your build configuration. zio-intellij uses gradle-intellij-plugin

from sbt-idea-plugin.

mutcianm avatar mutcianm commented on June 12, 2024

The Java plugin is a bundled plugin(distributed as a part of IJ IDEA) - therefore its sources are a part of sources.zip which comes with IJ IDEA distribution.
External plugins are downloaded from IJ plugin marketplace which only contains binary artifacts with no sources.

from sbt-idea-plugin.

mutcianm avatar mutcianm commented on June 12, 2024

Extracted this into a dedicated issue #55

from sbt-idea-plugin.

maseev avatar maseev commented on June 12, 2024

For some reason I can't see the source code for the IntelliJ platform when I use the sbt-idea-plugin, but I can navigate through the same classes in a project which uses the gradle-intellij-plugin - meaning the IDE picks up the sources automatically. Does it have anything to do with the folder to which the sbt-idea-plugin downloads the IntelliJ SDK?

from sbt-idea-plugin.

mutcianm avatar mutcianm commented on June 12, 2024

the most recent nightly build of Scala plugin should be able to attach IJ sources automatically if sbt-idea-plugin is enabled in the sbt build

from sbt-idea-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.