My VSCode Extension
A custom VSCode extension that demonstrates basic functionality.
Features
- Command:
Hello World - Displays a simple notification
Development
Prerequisites
- Node.js
- npm
- Visual Studio Code
Setup
Clone the repository
git clone https://github.com/yourusername/my-vscode-extension.git
cd my-vscode-extension
Install dependencies
npm install
Build the extension
npm run compile
Running the Extension
- Press
F5 to open a new window with your extension loaded
- Run the command from the command palette by pressing (
Ctrl+Shift+P or Cmd+Shift+P on Mac) and typing Hello World
- Set breakpoints in your code inside
src/extension.ts to debug your extension
- Find output from your extension in the debug console
Packaging the Extension
npm run package
This will create a .vsix file that can be installed in VS Code.
License
MIT
| |