Skip to content

dikidjatar/acode-plugin-generate_code

Repository files navigation

Generate Code With AI

Generate Code with AI is a powerful code generation plugin for Acode. With the help of AI, this plugin automates the process of writing code snippets, making your coding experience faster and more efficient.

Updates
v2.0.0
  • Upgraded to OpenAI's latest version
  • Added support for Gemini integration
  • Provider selection - Choose between OpenAI and Gemini for code generation.
v1.0.2
  • Automatic language recognition: The plugin now automatically recognizes the currently used language.
v1.0.1
  • Pencil icon is now available in the selection menu, which can be used to regenerate code.
  • Added code selection (Now you can regenerate selected code through commands).

Features

  • AI-Powered Code Generation: Leverage the capabilities of AI to instantly generate code based on your commands.
  • Seamless Integration: Effortlessly integrate the plugin into your preferred code editor, enhancing your workflow without any hassle.
  • Support for (OpenAI and Gemini).

Getting Started 🛠️

To use Generate Code, search for Generate Code in the command palette (•••) or use the side button on the right side of the editor in the vertical direction. Note: Place the cursor at the exact location where you want to insert the code..

Type Show Generate Code Button to display the right button

Type Hide Generate Code Button to hide the right button.

To update your token, search for "Generate Code Update Token".

Install the Plugin
Download and install the plugin from settings/plugin.

Configure Settings

  • Go to the plugin settings.
  • Add your OpenAI and/or Gemini API keys.
  • Choose your preferred provider.

How To Get API Token

To obtain a token, visit https://platform.openai.com/api-keys or https://aistudio.google.com/apikey. Simply click the "create new secret key or create api key" button to generate the token. If you don't have an account yet, please create one first.

Video

Support

For any issues, bug reports, or feature requests, please submit an issue.

About

Plugin for Acode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published