cockpit is a VSCode Extension that leverages OpenAI API search capabilities, specifically chat completion, for the purpose of answering the developer user's questions without leaving the IDE. To activate it, run the command Welcome Message.
Afterward, run the command Configure to store or update the OpenAI API key you will need to access its services. Otherwise, if you are simply running the repository in development mode, just add a
Based on the running machine's platform and environment information that it provides to OpenAI, it can Find [the] Shell Command you are looking for even if you just input natural language from within your IDE. It allows you to run the command found right after or first copy it to clipboard.
It also offers a separate command for you to Ask Anything from OpenAI, be it random questions or explanation for the shell command you have gotten. You can ask it step-by-step guides for anything and it will pipe the output for you to a temporary text file, which it also immediately opens for you.
It offers persistence of up to the last five (5) of your previous searches, per each category (shell or anything), so that you can just Show Search History and run the same search without typing again. For now, it can support English and German via VSCode Configure Display Langugage.
VSCode version at least 1.81.0
Not applicable for now.
Please do open an issue, thanks.
Initial release of cockpit