Pointer - VS Code Extension
A powerful VS Code extension that transforms chat output into file operations. Create, modify, or delete files directly from your conversation history.
Features
- File Operations from Chat: Convert chat messages into file operations
- Simple Syntax: Easy-to-use command format
- Workspace Integration: Seamlessly modifies files in your current workspace
- Automatic File Opening: Created/modified files automatically open in editor
Installation
From Marketplace (when published)
- Open VS Code Extensions view (
Ctrl+Shift+X
or Cmd+Shift+X
)
- Search for "Pointer"
- Click Install
Manual Installation
- Download the
.vsix
file from Releases
- In VS Code, go to Extensions view
- Click the
...
menu and select "Install from VSIX..."
- Select the downloaded file
Development Build
git clone https://github.com/rishijeet/pointer.git
cd pointer
npm install
npm run compile
Then press F5
to launch the extension in debug mode.
Usage
Basic Syntax
COMMAND: path/to/file
CONTENT:
Your file content here
Examples
Create a new file:
CREATE: src/example.js
CONTENT:
function hello() {
console.log('Hello from Pointer!');
}
Modify existing file:
MODIFY: package.json
CONTENT:
{
"name": "my-project",
"version": "1.0.0"
}
Delete file:
DELETE: temp.txt
Running the Command
- Select the text containing your commands
- Open Command Palette (
Ctrl+Shift+P
or Cmd+Shift+P
)
- Search for "Process Chat Output"
- Press Enter
Configuration
Currently supports these settings in settings.json
:
{
"pointer.autoOpenFiles": true,
"pointer.confirmDeletions": true
}
Development
Build
npm install
npm run compile
Test
npm test
Or press F5
to debug.
Package
npm install -g @vscode/vsce
vsce package
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
)
- Commit your changes (
git commit -m 'Add some amazing feature'
)
- Push to the branch (
git push origin feature/amazing-feature
)
- Open a Pull Request
License
© Rishijeet Mishra