Introducing B4X Copilot: Harness the Power of AI in Your B4X IDE
B4X Copilot is an inofficial external tool completely written in B4J, designed to integrate the most common AI (GPT, Claude, Gemini) advanced language model capabilities into your B4X programming environment. Whether you're coding in B4A, B4J, or B4i, B4X Copilot offers smart, AI-driven features to enhance your coding efficiency and quality.
Key Features of B4X Copilot:
Requirements:
Used Models:
Installation Guide:
1. Download B4XCopilot.zip and unzip it and start it with the B4xCopilot.exe.
3. Right-click the tray icon to access settings. Here, you can configure your preferred language, IDE, A.I. Provider, API Key and shortcut.
To change the shortcut use the KeyCodes and seperate them with a &. for example "29&61" for Ctrl+F2. The settings screen will show you the current keycode of the pressed key.
Standard Value is 29&43 for `Ctrl+circumflex (Ctrl+^)`.
Usage:
1. Highlight the code section you need assistance with and press the key combination: `Ctrl+circumflex (Ctrl+^)`.
2. A context menu will appear with all available functions. Select the desired function and wait for the operation to complete.
Important Note: While B4X Copilot is designed to enhance your coding experience, it's important to note that due to the relatively lower popularity of the B4X language, it may not be as comprehensively supported in the AI's model. This could lead to occasional inaccuracies in code suggestions and comments. Always review the AI's contributions to ensure they meet your project's requirements.
@Erel may be able to integrate this natively into the IDEs. I am at your disposal for help ;-)
Changelog 1.1
- Adds "Fix" Method (experimental)
- Adds option to change the shortcut
Changelog 1.2
- Nicer contextmenu
- Adds Anthropic Claude and Google Gemini as possible A.I.
Download v1.2
If you want to support my work, please consider a small donation here
B4X Copilot is an inofficial external tool completely written in B4J, designed to integrate the most common AI (GPT, Claude, Gemini) advanced language model capabilities into your B4X programming environment. Whether you're coding in B4A, B4J, or B4i, B4X Copilot offers smart, AI-driven features to enhance your coding efficiency and quality.
Key Features of B4X Copilot:
- Code Refactoring: Enhance your existing code with our intelligent refactoring tools. B4X Copilot reviews your code, suggesting optimizations to improve both performance and readability.
- Code Completion: Leveraging comments within your code, B4X Copilot predicts and completes your code snippets automatically. Simply begin a comment and B4X Copilot will seamlessly convert your thoughts into precise, functional code.
- Automated Commenting: Maintain clarity within your codebase with auto-generated comments. B4X Copilot provides insightful explanations for complex code sections, simplifying project navigation and maintenance.
- Custom Prompt: Directly instruct the AI by describing exactly what you need. Just tell B4X Copilot what to do, and it will execute your commands intelligently.
- Code Explanation: Revisit your code with confidence. B4X Copilot offers clear, understandable explanations for any part of your code, aiding both you and your team in managing your projects effectively.
- Fix Code: B4X Copilot not only identifies issues within your code but also corrects them. After making changes, it provides a detailed explanation of what was modified and why, ensuring you understand the adjustments and can learn from them.
Requirements:
Used Models:
Installation Guide:
1. Download B4XCopilot.zip and unzip it and start it with the B4xCopilot.exe.
3. Right-click the tray icon to access settings. Here, you can configure your preferred language, IDE, A.I. Provider, API Key and shortcut.
To change the shortcut use the KeyCodes and seperate them with a &. for example "29&61" for Ctrl+F2. The settings screen will show you the current keycode of the pressed key.
Standard Value is 29&43 for `Ctrl+circumflex (Ctrl+^)`.
Usage:
1. Highlight the code section you need assistance with and press the key combination: `Ctrl+circumflex (Ctrl+^)`.
2. A context menu will appear with all available functions. Select the desired function and wait for the operation to complete.
Important Note: While B4X Copilot is designed to enhance your coding experience, it's important to note that due to the relatively lower popularity of the B4X language, it may not be as comprehensively supported in the AI's model. This could lead to occasional inaccuracies in code suggestions and comments. Always review the AI's contributions to ensure they meet your project's requirements.
@Erel may be able to integrate this natively into the IDEs. I am at your disposal for help ;-)
Changelog 1.1
- Adds "Fix" Method (experimental)
- Adds option to change the shortcut
Changelog 1.2
- Nicer contextmenu
- Adds Anthropic Claude and Google Gemini as possible A.I.
Download v1.2
If you want to support my work, please consider a small donation here
B4XCopilot
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Last edited: