Biggles, available on GitHub, is a coding assistant tool that offers users the convenience of inserting and modifying code through voice commands or typed instructions. By default, Biggles seamlessly inserts new code at the current cursor position based on user input. Alternatively, users can select existing code and instruct Biggles to make modifications accordingly. To understand and execute these commands, Biggles leverages the capabilities of the OpenAI Whisper and ChatGPT APIs, requiring users to provide their own OpenAI API key for access.
To ensure proper context for ChatGPT, Biggles sends code snippets before and after the cursor position. However, it’s important to acknowledge that Biggles does have limitations. While it excels in proximity-based operations, its awareness of the overall code base is limited. Users can adjust the number of tokens sent to ChatGPT for context in the settings. Additionally, Biggles offers two primary modes: inserting new code when no code is selected and modifying a selected block of code. Nevertheless, it currently lacks the capability for more intricate operations such as code movement.
In summary, Biggles stands as a valuable coding assistant, enhancing the coding experience within the Visual Studio Code environment by allowing for convenient code insertion and modification through voice commands or typed instructions.