dark icon indicating copy to clipboard operation
dark copied to clipboard

Support Search across editor

Open StachuDotNet opened this issue 3 years ago • 2 comments
trafficstars

When coding in Dark, I often reach for a (keyboard-centric) Search.

Namely, my hands reach for "Ctrl+Shift+F," and I expect some UI where I can search for Dark functions and toplevels I've defined quickly, ideally navigating to any datastore, user fn, etc. without leaving the keyboard.

At very minimum, this could be a simple overlay with search box and results below accessible via the arrow keys.

StachuDotNet avatar Jun 20 '22 14:06 StachuDotNet

The Client may have everything it needs for an MVP already, without any backend work?

StachuDotNet avatar Jun 20 '22 14:06 StachuDotNet

This is implemented already, just not particularly well. If you press Ctrl-k, then type a word, it will search all the code to find it and offer results. It was intended to be like spotlight, but it didn't really work out very well. Making it a separate thing would be a big improvement.

pbiggar avatar Jun 20 '22 16:06 pbiggar

Closing as it doesn't apply to darklang-next

pbiggar avatar Mar 01 '23 04:03 pbiggar