SpartanJ / ecode

Lightweight multi-platform code editor designed for modern hardware with a focus on responsiveness and performance.
MIT License
941 stars 13 forks source link

FR: Support to open multiple files from "Open File" #252

Closed ghost closed 2 months ago

ghost commented 7 months ago

Current button's name, Open a File, is very clear that it can only open a single file.

SpartanJ commented 7 months ago

Yes, this is pending, I never cared enough to fix it (I don't see the point of opening a file from "Open file...", if i need to open many files i'll drag the files to ecode.

ghost commented 7 months ago

if i need to open many files i'll drag the files to ecode.

I will do like you.

SpartanJ commented 7 months ago

I still want to do it, I'm gonna keep it open.

ghost commented 7 months ago

I still want to do it, I'm gonna keep it open.

How do you implement it? Pressing Ctrl to select multiple files and Shift to select a block of files? If multiple files could be selected and opened, how would the search feature work?

SpartanJ commented 7 months ago

Pressing Ctrl to select multiple files and Shift to select a block of files?

Yes

If multiple files could be selected and opened, how would the search feature work?

Selection should be kept alive while filtering. But it's tricky, so initially I will not care about it. Not even Dolphin supports it, so we will be fine without it.