English Copilot is a VS Code extension designed to assist software engineers in writing clear and fluent comments in English. It leverages LLMs to improve the readability and grammatical correctness of your code comments.
- Select a block of text containing the comment you want to improve.
- Open the Command Palette in VS Code (Ctrl+Shift+P or Cmd+Shift+P).
- Select the "English Copilot: Improve Selected Block" command.
- The extension will process the selected comment and replace it with the improved version.
To use English Copilot, you need to have an OpenAI API key. Sign up for an API key at OpenAI and configure it in the extension settings.
English Copilot contributes the following settings:
english-copilot.openAiApiKey
: Set your OpenAI API key here to enable the extension's functionality.english-copilot.openAiModelName
: Specify the name of the language model to use. Default is set to 'gpt-4'.
- Initial release of English Copilot
- Basic comment translation and grammatical error correction functionality
This extension is licensed under the Apache License 2.0. See the LICENSE file for more information.
Enjoy using English Copilot to enhance your code comments!