Skip to content

cognautic/cog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cog Terminal Extension

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

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
  • Automatic Installation Prompt: Offers to install cognautic-cli via pip if not found

Usage

  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

Requirements

  • Python and pip must be installed on your system
  • cognautic-cli package (will prompt for installation if missing)

Development Setup

  1. Clone this 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

Extension Settings

This extension does not add any VS Code settings.

Known Issues

None at this time.

Release Notes

1.0.0

Initial release with:

  • Activity bar integration
  • Terminal launch with cognautic command
  • Installation detection and prompt

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published