Monkey Patch READMEWhat does it doMonkey Patch is an extension allowing execution of arbitrary javascript in VSCode browser and main process It can be either used directly using configuration options, or by other extensions using API. Monkey Patch aims to make the entire process reliable (as far as monkey-patching goes...) and user friendly, by automatically checking the patching state after update, and prompting the user to repatch. It can also request elevated privileges if necessary. Enabling and DisablingMonkey Patch contributes two VSCode commands:
Using Monkey Patch through configuration optionsWhile not the primary purpose, it is possible to use the Monkey Patch extension through options. For example:
Using Monkey Patch through the API
For a full project that uses this, see https://github.com/iocave/customize-ui. If something goes wrongMonkey Patching can get fragile at times. If VSCode is running, you can unpach VSCode by invoking the "Disable Monkey Patch" command. If VSCode does launch, you can always redownload VSCode and replace the patched instance. |