This folder contains all the necessary files for your Container Monitoring Extension for Visual Studio Code.
package.json
- Manifest file declaring your extension and commands.- The extension registers commands and defines their titles and command names, visible in the command palette.
extension.js
- Main file where you implement extension functionality.- Exports an
activate
function called when the extension is first activated. It usesregisterCommand
to define command behavior.
- Exports an
To begin using the Container Monitoring Extension:
- Press
F5
to open a new VS Code window with the extension loaded. - Access commands from the command palette (
Ctrl+Shift+P
orCmd+Shift+P
on Mac) by typing commands related to container monitoring.
- Set breakpoints in
extension.js
to debug your extension. - Use the debug toolbar to relaunch the extension after code changes.
- Reload VS Code (
Ctrl+R
orCmd+R
on Mac) to apply changes.
- Explore the full API in
node_modules/@types/vscode/index.d.ts
.
- Install the Extension Test Runner.
- Open the Testing view from the activity bar and click "Run Test" (
Ctrl/Cmd + ; A
) to execute tests. - View test results in the Test Results view (
Ctrl/Cmd + Shift + Y
).
- Follow UX guidelines for seamless integration with VS Code's interface.
- Learn how to publish your extension on the VS Code Marketplace.
- Implement Continuous Integration for automated builds.
Happy coding with your Container Monitoring Extension!