SpartanJ / ecode

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

How to open the `Welcome` page manually? #323

Closed Curculigo closed 2 months ago

Curculigo commented 2 months ago

I'm kind of like it. It lists all of the popular functionalities. I don't have to go to Menu or dive into the command palette. Everything is just there.

SpartanJ commented 2 months ago

So you want to be able to open the Welcome page without going to the menu or command palette, with just a shortcut? Otherwise a Welcome page will show up is you open a new window or close the current folder, both can be binded with a shortcut.

Curculigo commented 2 months ago

So you want to be able to open the Welcome page without going to the menu or command palette, with just a shortcut?

Is it possible to open the Welcome page via the Menu or the command palette? I don't know that it's possible. Please let me know how. I'm still new to ecode.

Otherwise a Welcome page will show up is you open a new window or close the current folder, both can be binded with a shortcut.

Yes, I know. But I want to be possible to open the Welcome page when I have opened a folder.

SpartanJ commented 2 months ago

Gotcha, no, it was not available, so I added here a new command called "create-new-welcome-tab", so you can use it from the command palette or bind a new keybinding to create the welcome tab (it won't have any binding by default).

Curculigo commented 2 months ago

Gotcha, no, it was not available, so I added here a new command called "create-new-welcome-tab", so you can use it from the command palette or bind a new keybinding to create the welcome tab (it won't have any binding by default).

Why not "open-new-welcome-tab"?

SpartanJ commented 2 months ago

Because "create-new*" is already used for the rest of the commands to create new tabs of different types.