Codeulator
Get read/write access to files in your Visual Studio and VS Code projects.
Codeulator is a plugin that allows you to collaborate with AI directly inside your favorite code editor. With Codeulator, you can easily add code to an existing or new file in your IDE by providing a Live Share URL. Simply delete obsolete lines before inserting new code and make sure each 'newCode' line has proper indentation. Codeulator helps you avoid errors and ensures that your code structure remains intact. It also provides alerts for potential issues in the code. Collaborate seamlessly with AI and enhance your coding experience with Codeulator!
How to
Comments (0)
API docs
Learn how to use Codeulator effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "Explore a directory tree and find all the files in a specific folder."
-
Prompt 2: "Read the contents of a file and display them."
-
Prompt 3: "Create a draft with changes to a file without applying them."
-
Prompt 4: "Apply a drafted set of changes to a file."
-
Prompt 5: "Get diagnostic messages for a file."
Features and commands
Feature/Command | Description |
---|---|
readDirectory | This command allows you to explore a directory tree and find files within a specific folder. You need to provide the Live Share URL, the absolute path to the target file or directory, and a description of the analysis goal. |
readFile | This command allows you to read the contents of a file and display them. You need to provide the Live Share URL, the absolute path to the target file, the line number to start reading at (if needed), the line number to stop reading at (if needed), and a description of the analysis goal. |
createDraft | This command prepares a set of file changes, without applying them yet. It returns a diff for validation purposes. If the diff contains errors, the client should fix them and try again. You need to provide the Live Share URL, the absolute path of the file to be edited, the deletion mode (currently only 'pair' is supported), a sequence of edit operations to perform on the file, a list of previous draft IDs that this draft depends on (if applicable), and a boolean value to indicate if an empty file should be created. |
applyDraft | This command applies a drafted set of changes to the original file. You need to provide the Live Share URL, the absolute path to the file, the draft ID, and a boolean value to indicate if the draft should be applied even if it has warnings. |
getDiagnostics | This command retrieves diagnostic messages for a file. You need to provide the Live Share URL and the absolute path to the file. |