← Back to Cognautic

Cog - VS Code Extension

A VS Code extension that provides quick access to the Cognautic CLI directly from the activity bar.

Version 1.0.0

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 cognautic command automatically executed
  • Smart Installation Check: Detects if cognautic-cli is installed on your system
  • Automatic Installation Prompt: Offers to install cognautic-cli via pip if not found
  • Editor Tab Integration: Terminal opens in an editor tab for better workspace organization

Usage

Getting Started

  1. Click the Cog icon in the activity bar (left sidebar)
  2. Click "Start Cognautic CLI" in the view
  3. If cognautic-cli is installed, a terminal opens with the command running
  4. 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-cli package (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

  1. Clone the repository
  2. Run npm install to install dependencies
  3. Press F5 to open a new VS Code window with the extension loaded
  4. 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

  1. Open VS Code
  2. Go to Extensions view (Ctrl+Shift+X)
  3. Click the "..." menu at the top
  4. Select "Install from VSIX..."
  5. Choose the generated .vsix file

>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.