Fire shortcuts/code completion

Is there a way to stop code completion inserting the suggested completion when pressing space?

I often have when typing a keyword that it matches a completion suggestion and pressing space then inserts the suggested completion (happens with new for instance). Can code completion only insert when tapping enter or tab?

Related to that, code completion is tied to cmd + space in Fire, but that triggers Spotlight globally by default on Mac, is there a way to change the shortcut in Fire?

Yes, you’ll want to turn off the “Automatically show Code Completion” option in Preferences, for that:

THAT said, CC is made that it never should get in your way, and only select “soft” if theres ambiguity. If you have concrete places where “just typing” has CC inter bad stuff or get in the way, I’d appreciate if you could let us know so we can have a look and address these scenarios.

CC opens manually with Cmd-Space (for Windows users’ compatibility, and if available) and with Escape (the default for Mac)

Ah thanks! I’ll disable it and use Esc then :slight_smile:

I specifically have it quite a lot with new in C# when I also have Golang references. It often defaults to a New() method from one of the Go libraries.

Screenshot 2025-02-22 at 13.15.47

:+1:

Curious. I don’t reference Go much, myself, so I have not run into this. I’ll have a look. So the “new” keyword is not selected by default if you just “type thru”, it selects/inserts New(), instead?

(FWIW, I just tried, and I don’t see this. Both “new” and even “new(” insert the new keyword for me, not the New() from Go)

See screenrecording of a snippet I just did (btw I had Fire crashing every other time when I toggle Automatically Show Code Completion in Settings).

Noticed that too, will investigate and fix today.