five-server-vscode icon indicating copy to clipboard operation
five-server-vscode copied to clipboard

[Feature] Ability to create a default config file.

Open goztrk opened this issue 3 years ago • 5 comments

Well, since there are lots of libraries out there to remember config options. Is it possible to add a command to vscode to create a default config file with all config options commented? That way it will be very easy to modify server?

goztrk avatar Dec 25 '21 18:12 goztrk

Have you had a look at types?

Guess it is a good idea. Ask the user to create a config file on first server start? Maybe even a guided setup?

yandeu avatar Dec 25 '21 22:12 yandeu

Yes. Just a item in context menu in explorer (like .editorconfig). a config file with all options that are commented out.

goztrk avatar Dec 26 '21 21:12 goztrk

Taking a slot in the context menu just for creating a config file seems a bit overkill.

yandeu avatar Dec 26 '21 22:12 yandeu

I don't think its the case for people using five server a lot but I guess you are right for people who don't code a web-site constantly. Then a Command Palette menu item?

goztrk avatar Dec 27 '21 04:12 goztrk

Or a popup on first page view.

I initially wanted to add a little popup menu to the client side for all settings.

Will have a closer look at it in mid January.

yandeu avatar Dec 27 '21 18:12 yandeu