Home > Back-end >  IDE Question: Is there anyway to have a hierarchy view for my class's functions?
IDE Question: Is there anyway to have a hierarchy view for my class's functions?

Time:10-03

I have been looking for quite a while every now and then for a way to get a hierarchy view for my Kotlin Class code in Android Studio/IntelliJ, but no googling has yielded any valid results.

This might be a silly question but it'd really help me focus with my code more. Is there any way that I can get a hierarchy map/view inside Android Studio for my class's and its functions and init variables ? My class has a HUGE amount of code lines and lots of functions. It just pains me to look for a function every time and I can't dock all functions every second I use them.

If there is no way to get a hierarchic way to look at it, I would love to know if there is any trick you guys use. Thank you !

CodePudding user response:

Navigate | File Structure (Cmd/Ctrl F12) will show an outline of the current file. You can also use the Structure tool window, which provides a similar view.

  • Related