AI Assistant code generation pain points - feedback

I have been using Unity Assistant to generate a lot of code for a project I am working on where my goal is to let AI write as much of the code as possible. There are a couple of UX pain points that I am noticing pretty early on. I am running 6000.2.2 on MacOS

  1. To review code within the Assistant window that extends horizontally beyond the bounds of the code display widget, I have to scroll to the bottom of the window to see the horizontal scroll bar, drag it to the right, and then scroll back up to see the code. Using something like a middle mouse button hold to scroll around would be nice. Or even just having the window scroll right with text selection as the cursor is dragged off to the right would be helpful.
  2. To save a code file, I have to scroll to the top and click save. Having this control always visible, anchored to the top of the assistant window within the code widgets bounds, would be nice.
  3. When asking assistant to edit a code file, having the option to save right back to the file it edited would be nice. Currently, you have to browse to the file from the root Assets folder in order to save changes, every time you want to save.

Just some thoughts to improve the user experience.

Hi, I’m one of the designers on Assistant, and am taking a look at the code gen and modification feature. Just wanted to say thanks for your thoughts and I’m passing this along to the team :slight_smile: Everything you said makes sense. Can I ask where you tend to have Assistant docked? Just curious. -Liz

I agree on the AI Assistant code formatting issues; I wish the Unity wrapper would just allow a wider view of the code.

The output width seems to be limited to ~94 characters of code, regardless of actual line length or width of the display window given to AI Assistant. This is what I mean:

This seems to be an inherited constraint from (e.g.) google Gemini, except that when you run Gemini in a browser at least you can use a 3rd party tool like TamperMonkey to widen the view, like this:

Unity please allow either a browser-based interface to the AI Assistant (so we can use TamperMonkey) or just expand that output to fill the window we give the Assistant.

Otherwise: Amazing tool, and very useful! Thanks, ian