Cody++ is a VSCode extension that adds some missing features for developers who enjoy Cody.
- You must have the Cody extension installed in VS Code.
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
- Add Folder to Cody:
- Recursively adds all files in a folder to Cody.
- You can configure the maximum number of files allowed before showing a warning message.
- You can configure the file extensions to exclude from being added to Cody.
- Add Custom Command:
- Add, edit, and remove custom commands from the workspace settings.
- 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
orCmd+Shift+P
on Mac). - Type
Add New
and selectAdd New
. - Use the UI to create or edit a custom command.
- Click
Save
orUpdate
to save the changes.
- Open the Command Palette (
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"].
To configure this setting in two ways:
-
Using the Settings UI:
- Open the Command Palette (
Ctrl+Shift+P
orCmd+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.
- Open the Command Palette (
-
Using the
settings.json
file:-
Add these lines to your
settings.json
file:"codyPlusPlus.fileThreshold": 15, "codyPlusPlus.excludedFileTypes": [".exe", ".bin"]
-