face-hh / griddycode

A code editor made with Godot. Code has never been more lit!
Apache License 2.0
1.58k stars 101 forks source link

Add search through files and dirs in current directory #126

Closed SweetyAngel closed 1 month ago

SweetyAngel commented 1 month ago

To search, just type letters of your file while being in file explorer. Use Alt+R to clear search and Backspace to delete last symbol of query.

face-hh commented 1 month ago

I will check this tomorrow, great proposal!

I think a more ideal integration would be having a fuzzy search instead of a begins_with, and having the matched letters be highlighted in bold/italic/whatever styling RichTextLabel supports

SweetyAngel commented 1 month ago

I will check this tomorrow, great proposal!

I think a more ideal integration would be having a fuzzy search instead of a begins_with, and having the matched letters be highlighted in bold/italic/whatever styling RichTextLabel supports

Ok, I will do it then)

SweetyAngel commented 1 month ago

Fuzzy search and search results highlighting were implemented. You can check them and merge it into repo.