wandbox-vscode icon indicating copy to clipboard operation
wandbox-vscode copied to clipboard

Feature request: save file setting

Open ddydng opened this issue 7 years ago • 3 comments

Now we need to go through the setting procedure every time a new file is created. It would be nice if we can load the settings of previous files.

ddydng avatar Sep 20 '17 03:09 ddydng

You can use Wandbox: Show Settings command and Wandbox: Set Settings JSON command via Command Palette( F1 ). You can also make settings.

Isn't that what you mean?

wraith13 avatar Sep 20 '17 04:09 wraith13

Nope I meant requesting an option to choose from a list of previously saved settings when I start executing Wandbox: new

As far as I know, the setting entry is based on the filename, and most commonly used file name for me is untitiled-1 because that is the default filename after executing Wandbox: new. So far so good. However, when I change the settings for a little bit next time executing Wandbox: new, the whole setting for previous untitled-1 got overwritten and can't be retrieved again.

There is a workaround to this by setting special filename entry in the settings as you suggested, however that requires saving the current code into that filename so extension can recognize the correct setting. I think the best part about this extension is, you don't need to save a file to execute, and that's why I'm requesting this feature.

Sorry for bad English and hope my writing helps :)

ddydng avatar Sep 20 '17 05:09 ddydng

Since I am not good at English, please give me some time.

wraith13 avatar Sep 22 '17 05:09 wraith13