Clone or download this project to your local machine.
Open a terminal or command prompt and navigate to the project's root directory.
Run the following command to install the necessary dependencies:
npm install
Running and Testing the Extension (Development Mode)
Open this project folder in VSCode.
Press F5 to start a debugging session (or select Run > Start Debugging from the menu).
When you press F5, the code will be automatically compiled before the extension is launched.
Once compilation is complete, a new Extension Development Host window will open. This is a special VSCode instance with your extension temporarily installed.
In the new host window, open any project folder to test the extension (e.g., File > Open Folder...).
You can now test all the features of the extension.
How to Debug
Return to your original VSCode window (the one where this project's code is open).
You can set breakpoints by clicking in the gutter to the left of the line numbers in the src/extension.ts file.
When you trigger the functionality in the Extension Development Host window, the code will pause at your breakpoints, allowing you to inspect variables and step through the code.