Frederisk/Wikitext-VSCode-Extension

Option for autologin on push

Californ1a opened this issue · 0 comments

I tend to close VSC between page edits because I don't like stuff constantly running in the background if I'm not actively using it, which means nearly every time I pull a page down, I have to re-login in order to push.

To get around this, right now I'm using multi-command with a custom command set in keybindings.json:

{
	"key": "ctrl+s",
	"command": "extension.multiCommand.execute",
	"when": "editorTextFocus && editorLangId == wikitext",
	"args": { 
			"sequence": [
					"wikitext.login",
					"wikitext.writePage",
					"workbench.action.closeActiveEditor"
			]
	}
}