CodePalHave a coding pal of your choice react to the number of errors in your code. Concept blatantly stolen from virejdasani, but extended to allow for custom and several pals. Features
UsageCommandsAll commands are accessible via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
ConfigurationYou can configure the panic limit globally:
panicLimit: Number of errors before the pal shows the topmost reaction image. Pals DirectoryDefault path: Each pal has its own folder containing numbered subfolders (0, 1, 2...) with images. Images can be any format supported by the browser: .png, .jpg, .jpeg, .gif. Any level (0, 1, 2...) can have any number of images, that are selected between at random. Logic (lol)The images in folder 0 are always used when there are 0 errors in your code (as if), and the images in the folder iwth the highest number are selected when there are more than or equal errors as your set panic limit. Example: Folders 1, 2, 3 exist. Panic limit is 10.
Example Folder Structure
TipsKeep images consistent in aspect ratio for the smoothest visual effect. Use multiple images per level for randomness in displayed pictures. You can edit or replace pal images directly in the pals folder. Release Notes1.0.0Initial release. Prolly also the last. |