# How to set up Idea so you can ctrl+click OPENRNDR methods and see the source code?

**URL:** <https://openrndr.discourse.group/t/how-to-set-up-idea-so-you-can-ctrl-click-openrndr-methods-and-see-the-source-code/64>\
**Category:** How to?\
**Created:** [March 31, 2020, 5:20pm UTC](https://openrndr.discourse.group/t/how-to-set-up-idea-so-you-can-ctrl-click-openrndr-methods-and-see-the-source-code/64 "2020-03-31T17:20:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [March 31, 2020, 5:20pm UTC](https://openrndr.discourse.group/t/how-to-set-up-idea-so-you-can-ctrl-click-openrndr-methods-and-see-the-source-code/64/1 "2020-03-31T17:20:12Z")

</div>

Hi! I’m using the `openrndr-template` and compiling the latest versions of `openrndr` and `orx`.

It’s working well, but I miss one thing: to be able to ctrl+click any class to see what it offers and how it is implemented, and maybe even change it. Currently it decompiles the jar file and it shows me something, but it’s not very useful without seeing the code.

I guess doing that would involve going to Project Structure \> Modules \> Sources and adding the sources there somehow.

- Do you recommend doing that?
- Would it conflict with build.gradle.kts?
- Would it make compilation slower?

Thanks 🙂

ps. Another advantage of doing that is that I wouldn’t need to go to the guide or to the source folder and search there to know how to use a method, as I could easily see what it does.

---

<div class="post-metadata">

**Author:** ![edwin](https://avatars.discourse-cdn.com/v4/letter/e/73ab20/32.png) [@edwin](https://openrndr.discourse.group/u/edwin)\
**Post date:** [March 31, 2020, 9:05pm UTC](https://openrndr.discourse.group/t/how-to-set-up-idea-so-you-can-ctrl-click-openrndr-methods-and-see-the-source-code/64/2 "2020-03-31T21:05:43Z")

</div>

We serve source jars for both ORX and OPENRNDR on bintray, especially because being able to jump into source code is really handy. _Usually_ IntelliJ is able to detect the source jars and jumps into the code immediately. I have seen this fail in some recent versions of IntelliJ or its Kotlin plugin. In that case if it doesn’t it find the source jars it shows a decompile, but there should also be a footer in which it asks to either download the source jars or pick a source code location. For me it was enough to click on download source jar, close the tab with the decompile, and try again

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [April 1, 2020, 10:21am UTC](https://openrndr.discourse.group/t/how-to-set-up-idea-so-you-can-ctrl-click-openrndr-methods-and-see-the-source-code/64/3 "2020-04-01T10:21:29Z")

</div>

Thanks!

I think the sources were shown in the past but now they’re not by default.

Inconvenient that I need to click download sources for each class but  
at some point I’ll have them all I guess 🙂

 ![2020-04-03-091858_1060x312_scrot](https://global.discourse-cdn.com/free1/uploads/openrndr/original/1X/b78bed6d0cb159bc1bbe218a66644b87ba59e74d.png)
