api-webserver READMEThis extension make it possible to take control of Visual Studio Code from a Web Page based client. Features
in above json: removeOtherFiles mean that when this is set to true then files that is not present in the JSON is removed from the VSCODE project FilesDirectory (described in Extension Settings) it should be set to false if only known files need to be replaced/added.
note. that i have prevented directory traversal by the filename Requirementsnone Extension Settingsin webServerApiSettings.json in project root Contents example:
to apply the settings use the command:
Known Issuesnone Release Notes1.0.0Initial release of API_Webserver 1.0.1Add GET requests 1.0.2Add Settings file 1.0.3Add terminal capture and send to connected WebSocket client to use terminal capture use --enable-proposed-api JannikSvensson.api-webserver as VSCODE start parameter 1.0.4Add settings useTerminalOutputCapture, useTerminalOutputToHtml, useTerminalOutputAnsiStrip Add POST JSON data removeOtherFiles Fix File write flag so that it overwrites existing files |