Does AndroidStudio for Kotlin have anything like t...
# android
t
Does AndroidStudio for Kotlin have anything like the
// MARK:
syntax that shows up in XCode/Swift. It’s really handy for organizing chunks of functionality in different files
t
I don’t want to fold/hide it so much as be able to quickly navigate to it though. i could hide everything by default, and then constantly unhide/hide as I enter/exit different regions, but that seems burdonsome overhead just for navigation
w
Regions do show in code structure:
image.png
image.png
So if you open File Structure dialog (cmd + F12 on mac) or Structure window (cmd + 7) you can type region name to search it and then enter to navigate
👍 3
🎉 4
t
oh awesome. thank you
r
Whoa, TIL
d
Also, look into Navigate menu... You have jumping to next/previous method, but also Navigate -> Bookmarks which can point on any line of interest...