• Sign In



  • Categories

    Extension Details



    Readme

    AI Assist is a very simple interface to ChatGPT designed for software development. It can work on selected code or an entire file (sometimes).

    Setup

    Enter your OpenAI API key in settings, and optionally change the model.

    Usage

    Select the code you're interested in, or make sure the cursor is where you'd like it to insert something new. Press command+shift+l to display the prompt dialog and enter a question, directions to edit code, etc.

    NOTE: I removed the ability to work on an entire file as it was unreliable. Instead, select the entire file if needed, but note it might be too large to work with.

    The extension tries to guess if you're asking a question or trying to generate code. A question will display a response, and anything else will directly edit code.

    The Show Results Message setting will display the results of a question in a dialog if enabled. Otherwise it will insert the result as a comment in your code.

    Caveats

    This is a super simple extension, so don't rely on its results too much. It also seems to fail with large files, so I find working on a selection works better.

    Release Notes

    Version 1.1.0

    • Tweaked the prompts to work a little more consistently.
    • Removed working on entire files at once

    Version 1.0

    Initial release