Cody++
Cody++ README
Cody++ is a VSCode extension that adds some missing features for developers who enjoy Cody.
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
Create a custom command
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:
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.
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"]
| |