https://kotlinlang.org logo
#compose
Title
# compose
z

zsperske

12/08/2020, 6:08 PM
Does anyone else wish cmd+o would find your composable functions? i've started adding empty classes with the same name as my composables at the top of the file
d

Dirk Groot

12/08/2020, 6:10 PM
You can find them with cmd+option+o.
r

romainguy

12/08/2020, 6:11 PM
Beat me to it 🙂
😅 2
z

zsperske

12/08/2020, 6:11 PM
haha yeah I know its just muscle memory for me to use cmd + O
i'll get over it
z

Zach Klippenstein (he/him) [MOD]

12/08/2020, 6:21 PM
i just use shift shift for everything, always seemed simpler than remembering a different command for every “type” of thing to search for
4
z

zsperske

12/08/2020, 6:21 PM
woah i'm ashamed to admit i never knew about shift shift
k

Kirill Grouchnikov

12/08/2020, 6:26 PM
They should deprecate / remove all other shortcuts to search for "stuff" in favor of shift-shift.
One way to get there is to change your local keyboard shortcuts to unset all other search types
z

zsperske

12/08/2020, 6:31 PM
is there any speed difference on large projects?
z

Zach Klippenstein (he/him) [MOD]

12/08/2020, 6:33 PM
shift shift is pretty fast on large projects, i can’t say if it’s marginally slower than more specific searches, but it appears that searches across all types happen concurrently
👍 1
c

Colton Idle

12/08/2020, 6:40 PM
I feel like shift shift is so much slower than cmd shift o. lol Maybe it's just the fact that my left pinky is slow. Maybe I should switch to my right pinky.
👍🏻 1
s

sindrenm

12/08/2020, 6:50 PM
If you have two shift keys (🙄), you could always click them both quickly in succession, which arguably opens the menu even faster. 🧌
c

Colton Idle

12/08/2020, 6:52 PM
Doesn't work 🙃
s

sindrenm

12/08/2020, 6:53 PM
Huh! Works fine on Linux builds. 🤔
I guess you gotta make sure you release the first one before hitting the second one. 😅
j

Javier

12/08/2020, 7:15 PM
I use almost always shift shift, some times control F or control shift F and control r control shift R
BTW I want to add control E to see the recent files too, I think it is useful but I never use it
c

Colton Idle

12/08/2020, 7:32 PM
I only use three: cmd shift a for action cmd shift o for class cmd shift f for finding text /shruggie
c

codeslubber

12/09/2020, 4:18 PM
Wait, another dope thing I just figured out: once you are in the search dialog, you can move the selected tab with tab or shift-tab.
🔝 2