TaskOS VS Code Extension
Task management and AI code generation directly from VS Code.
Features
- 📋 Task Management: View and manage your TaskOS tasks directly in VS Code
- 🤖 AI Code Generation: Generate code using AI based on task descriptions
- ⚡ Quick Actions: Create tasks from selected code or text
- 🔄 Real-time Sync: Keep your tasks in sync with TaskOS
Installation
- Install the extension from the VS Code marketplace (coming soon)
- Or install from source:
cd vscode-extension
npm install
npm run compile
Configuration
- Get your API key from TaskOS Account Settings → Security → API Keys
- Open VS Code Settings (Ctrl+,)
- Search for "TaskOS"
- Enter your API key in
TaskOS: Api Key
- (Optional) Set your default workspace ID in
TaskOS: Default Workspace Id
Or use the command palette:
- Press
Ctrl+Shift+P (or Cmd+Shift+P on Mac)
- Type "TaskOS: Configure API Key"
- Enter your API key
Usage
View Tasks
- Open the TaskOS sidebar (click the TaskOS icon in the activity bar)
- Your tasks will be displayed in the tree view
Create Task from Selection
- Select some text in your editor
- Right-click → "TaskOS: Create Task from Selection"
- Enter task details and priority
- The task will be created in your default workspace
Generate Code with AI
- Select some text in your editor (optional - can be used as context)
- Right-click → "TaskOS: Generate Code with AI"
- Describe what code you want to generate
- Select programming language (optional)
- The generated code will open in a new editor
Open Task Panel
- Press
Ctrl+Shift+P → "TaskOS: Open Task Panel"
- Or click the refresh icon in the TaskOS sidebar
Commands
TaskOS: Open Task Panel - Open the full task management panel
TaskOS: Create Task from Selection - Create a task from selected text
TaskOS: Generate Code with AI - Generate code using AI
TaskOS: Configure API Key - Configure your API key
Requirements
- VS Code 1.80.0 or higher
- TaskOS Pro or Enterprise plan (for API access)
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch mode
npm run watch
# Package extension
npm run package
License
MIT
| |