Cog - VS Code Extension
A VS Code extension that provides quick access to the Cognautic CLI directly from the activity bar.
Overview
Cog is a lightweight VS Code extension designed to seamlessly integrate the Cognautic CLI into your development workflow. With a single click from the activity bar, you can launch the Cognautic terminal and start interacting with AI-powered development tools.
| Extension Name | Cog |
| Publisher | Cognautic |
| Version | 1.0.0 |
| VS Code Version | ^1.80.0 |
| License | MIT |
Features
- Activity Bar Integration: Adds a Cog icon to the VS Code activity bar for easy access
- One-Click Terminal Launch: Opens a terminal with the
cognauticcommand automatically executed - Smart Installation Check: Detects if
cognautic-cliis installed on your system - Automatic Installation Prompt: Offers to install
cognautic-clivia pip if not found - Editor Tab Integration: Terminal opens in an editor tab for better workspace organization
Usage
Getting Started
- Click the Cog icon in the activity bar (left sidebar)
- Click "Start Cognautic CLI" in the view
- If
cognautic-cliis installed, a terminal opens with the command running - If not installed, you'll be prompted to install it with
pip install cognautic-cli
>Tip
The terminal will open in an editor tab, allowing you to work with the Cognautic CLI alongside your code files.
Requirements
- Python and pip must be installed on your system
cognautic-clipackage (will prompt for installation if missing)- VS Code version 1.80.0 or higher
Installing Python
If you don't have Python installed, download it from python.org.
Installing Cognautic CLI
The extension will prompt you to install the CLI if it's not found, or you can install it manually:
pip install cognautic-cli
For more information, see the Cognautic CLI documentation.
Development Setup
If you want to contribute to Cog or customize it for your needs:
Prerequisites
- Node.js and npm installed
- VS Code installed
- Git for cloning the repository
Setup Steps
- Clone the repository
- Run
npm installto install dependencies - Press F5 to open a new VS Code window with the extension loaded
- Test the extension functionality
Building and Installing
Build the Extension
npm install
npm run compile
Package the Extension
npm install -g @vscode/vsce
vsce package
This creates a .vsix file that can be installed in VS Code.
Install the Extension
- Open VS Code
- Go to Extensions view (Ctrl+Shift+X)
- Click the "..." menu at the top
- Select "Install from VSIX..."
- Choose the generated
.vsixfile
>Coming Soon
Cog will be available on the VS Code Marketplace for easy one-click installation. Stay tuned!
Extension Settings
This extension does not add any VS Code settings at this time. All configuration is handled through the Cognautic CLI itself.
For CLI configuration options, see the Cognautic CLI Configuration section.
Known Issues
None at this time.
If you encounter any issues, please report them on our GitHub Issues page.
Release Notes
Version 1.0.0
Initial release with the following features:
- Activity bar integration with custom Cog icon
- Terminal launch with cognautic command
- Installation detection and prompt
- Editor tab terminal integration
- One-click installation via pip
>Feedback Welcome
This is our first release! We'd love to hear your feedback and suggestions for improvement. Reach out to us at cognautic@gmail.com or open an issue on GitHub.
License
Cog is released under the MIT License. See the LICENSE file in the repository for details.