Vortex - Code editing. Redefined, using GPTVortex is an open-source VS Code extension that uses the power of GPT to enhance and edit code directly within the VS Code editor. With Vortex, you can leverage the power of AI to write better code, faster. RequirementsTo use Vortex, you will need:
You can fetch your OpenAI API key at https://platform.openai.com/account/api-keys. Getting StartedTo get started with Vortex, simply install the extension from the VScode Marketplace. Once installed, Vortex will be available in the editor and can be used to generate, edit or review your code. NOTE: This extension uses VS Code's Secret Storage to safely store API keys, and not in the user settings, which is something that is readable for all other extensions in the workspace. SetupWhen the extension activates, you will see a prompt to enter your OpenAI API key, enter the key here and the extension will be ready to use. UsageVortex can help generate, edit or review code. As an example, to use Vortex to edit code, follow these simple steps:
That's it! Vortex will automatically apply the requested edits, saving you time and effort. If you're not happy with the suggested edits, you can always modify your description and generate new suggestions until you find the changes you're looking for. You can follow similar steps to use the ExampleAssume you have the following function:
After performing a
Use casesHere are a few samples of commands followed by descriptions for common use cases: Generating code: Docstring generation: Refactoring: Code Reviews: Extension SettingsThis extension contributes the following settings:
KeybindingsEach command has a corresponding keybinding by default: Generate Code: Edit Code: Review Code: LicenseVortex is licensed under the MIT License. See the LICENSE file for more information. Enjoy! |