Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Cody++New to Visual Studio Code? Get it now.
Cody++

Cody++

Thanh Minh

|
3,277 installs
| (3) | Free
Adds some missing features for developers who love Sourcegraph Cody
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cody++

Cody++ README

Cody++ is a VSCode extension that adds some missing features for developers who enjoy Cody.

X (formerly Twitter) Follow

Requirements

  • You must have the Cody extension installed in VS Code.

Installation

You can install the Cody++ extension from the Visual Studio Code Marketplace

You can also install the extension from the command line:

code --install-extension mnismt.cody-plus-plus

Features

  • Add Folder to Cody:
    • Recursively adds all files in a folder to Cody.
    • You can configure the file extensions to exclude from being added to Cody.
    • You can configure the folders to exclude from being added to Cody.
    • You can configure the maximum number of files allowed before showing a warning message.
  • Add Custom Command:
    • Add, edit, and remove custom commands from the workspace settings.

Usage

  • Add Folder to Cody:
    • Right-click on a folder in the Explorer view.
    • Select Add folder to Cody from the context menu.
    • If the folder contains a large number of files, you will be prompted to confirm before proceeding.
    • Note: The Cody chat panel must be opened for this feature to work.
  • Add Custom Command:
    • Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on Mac).
    • Type Add New and select Add New.
    • Use the UI to create or edit a custom command.
    • Click Save or Update to save the changes.

Demo

Add a folder

Add Folder

Create a custom command

add-a-command-edited - 01

Extension Settings

This extension contributes the following settings:

  • codyPlusPlus.fileThreshold: The maximum number of files allowed before showing a warning message. Default is 15.
  • codyPlusPlus.excludedFileTypes: List of file extensions to exclude from being added to Cody. Default is [".exe", ".bin"].
  • codyPlusPlus.excludedFolders: List of folders to exclude from being added to Cody.

To configure this setting in two ways:

  1. Using the Settings UI:

    • Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on Mac).
    • Type Preferences: Open Settings (UI) and press Enter.
    • In the search bar, type Cody Plus Plus.
    • Adjust the:
      • File Threshold setting to your desired value.
      • Excluded File Types setting to your desired value.
      • Excluded Folders setting to your desired value.
  2. Using the settings.json file:

    • Add these lines to your settings.json file:

      "codyPlusPlus.fileThreshold": 15,
      "codyPlusPlus.excludedFileTypes": [".exe", ".bin"]
      "codyPlusPlus.excludedFolders": [".git", "node_modules"]
      
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2024 Microsoft