Sorta, that’s completions whereas I’m referring to using the command+. prompt shortcut
p
prigara
04/28/2025, 11:26 AM
@Zac Sweers got it now, thanks! Right now Generate code is always tied to the line where it was invoked. Seems like a standard behavior in all AI editors.
Can you please tell a bit more about your use case?
z
Zac Sweers
04/28/2025, 1:56 PM
If I do it in IntelliJ, it will generate into the correct place. For example - if I have my cursor in a function name, it will generate code into the function body. However in Fleet it will generate code only exactly where the cursor is, which results in generating invalid code. Worse it will also generate imports inline, rather than add them to the top of the file