This extension quickly creates logs so a program can be debugged easily
Features
The primary feature of this extension is the ability to insert a logging line, labeled as "Checkpoint " followed by an increasing number, behind the selected line to aid in debugging.
The log format can be customized and saved to ensure compatibility across different programming languages. Additionally, once the debugging issue is resolved, you can easily remove all checkpoints from the file.
Options
Checkpoint: Inserts a checkpoint on the line above the selected one.
Reset count: Resets the checkpoint numbering to 1.
Set format: Defines the format in which the log will be generated. Use the ~ character as a placeholder for "Checkpoint _". For example, if the desired output is print("Checkpoint _"), input print("~").
Save format (globally): Saves the current format under a specified name either in the workspace or globally. If a format with the same name exists, it will be overwritten. Note: Two formats can have the same name if one is saved globally and the other in the workspace.
Load format (globally): Loads a format from either the workspace or globally. Even if the names are identical, global and workspace formats are treated as separate entities.
Delete format (globally): Permanently deletes a format. If the deleted format is currently in use, the default format (print("~")) will be restored.
Clear checkpoints: Removes all lines that contain only the current checkpoint template (including any leading or trailing spaces).
Known Issues
The extension has not been extensively tested. However, since its functionality is straightforward, it is not expected to cause significant issues.