package.json- this is the manifest file in which you declare your extension and command.
src/extension.ts- this is the main file where you will provide the implementation of your command.
activate, which is called the very first time your extension is activated (in this case by executing the command). Inside the
activatefunction we call
F5to open a new window with your extension loaded.
Cmd+Shift+Pon Mac) and typing
src/extension.tsto debug your extension.
Cmd+Ron Mac) the VS Code window with your extension to load your changes.
Cmd+Shift+Don Mac) and from the launch configuration dropdown pick
F5to run the tests in a new window with your extension loaded.
src/test/suite/extension.test.tsor create new test files inside the
testfolder to structure your tests any way you want.