Hello Tree Extension
A sample VS Code extension that displays a "Hello World" message and provides a tree view in the sidebar.
Features
- Adds a "Hello World" command to the command palette
- Displays a tree view in the sidebar with sample items
- Allows adding and deleting items from the tree
- Refresh functionality for the tree view
Usage
- Open the command palette (Ctrl+Shift+P or Cmd+Shift+P)
- Type "Hello World" and select the command
- View the tree in the sidebar under "Hello Tree"
- Use the toolbar buttons to add items or refresh the tree
- Right-click on items to delete them
Development
Setup
npm install
Building
For development (with source maps):
npm run compile
For production (minified):
npm run package
Watch Mode
npm run watch
Packaging
To create a VSIX file for distribution:
npm run pack
This will create a hello-tree-0.0.1.vsix file that can be installed in VS Code.
The extension uses webpack to bundle the code for better performance and smaller file size.
Extension Details
- Publisher: swatDong
- ID: hello-tree
- Version: 0.0.1
| |