Rider inserting tab instead of autocompleting

I have `Choose Lookup Item` and `Tab` both bound to the `Tab` key in my Rider settings. I'd like to `Choose Lookup Item` whenever there's a suggestion using the `Tab` key, and to indent my code whenever there isn't a suggestion. However, whenever I press the `Tab` key when there is a suggestion, Rider inserts a tab into my code instead of inserting the suggestion.

0
4 comments

Hello Jason,

Thank you for reporting this issue. I've failed to reproduce this behavior according to your description so far. Could you please provide your exported settings (File | Manage IDE Settings | Export Settings...) and a screencast of your actions and the results?

Thank you in advance.

0

I don't know how to upload the zip file of my settings, but here's the exported keymap xml:

<keymap version="1" name="VSCode copy" parent="VSCode">
<action id="EditorChooseLookupItem">
  <keyboard-shortcut first-keystroke="tab" />
</action>
<action id="EditorChooseLookupItemReplace" />
<action id="OpenInRightSplit">
  <keyboard-shortcut first-keystroke="shift enter" />
</action>
</keymap>
0

Hello,

thanks for the settings file. I've reproduced this behavior after importing your settings and then narrowed it down to the Rider Settings | Editor | General | Code Completion | Enter inserts suggestion even if completion popup is not focused (gray selection) setting. Please enable it to use completion on Tab with your configuration.

0

Please sign in to leave a comment.