Skip to content

Inline suggestions aren't multicursor aware #146041

Closed

Description

  • enable inline suggest via editor.quickSuggestions and inline
  • have multiple cursors and type con
  • accept the inline completion
  • only the primary cursor is completed

Activity

  1. emanuelescarabattoli commented on May 6, 2022

    @emanuelescarabattoli

    I confirm this behavior, as you can see from the following screenshots.

    Before to hit tab:

    Screenshot 2022-05-06 at 12 01 52

    After hitting tab:

    Screenshot 2022-05-06 at 12 01 58

    Expected behavior:

    Screenshot 2022-05-06 at 12 02 11

  2. riskoviv commented on Jul 20, 2022

    @riskoviv

    The workaround I use for now is press Ctrl + Space and select suggested variant by Tab/Enter, but selecting it just by Tab would be a lot better of course.

  3. Semesse commented on Aug 9, 2022

    @Semesse
    Contributor

    Hello, team~ I'd like to fix this issue, but I'm not sure if there's any case the completion item would be so complicated that we need to calculate how many characters we should overwrite before each cursor. Or I guess we can insert ghost text for any existing cursor as an intuitive fix?

  4. hediet commented on Aug 11, 2022

    @hediet
    Member

    Semesse (@Semesse) unfortunately the code is not very straight forward.

  5. added
    papercut 🩸
    on Oct 28, 2022
  6. Entwaze commented on Mar 15, 2023

    @Entwaze
  7. added
    verified
    on Jul 26, 2023
  8. Tomaqa commented on Nov 16, 2023

    @Tomaqa

    I guess that showing the ghost text only at the first cursor as it is now (i.e. not at all cursors) is not ideal but quite OK, while the priority is accepting the suggestion at all cursors?

  9. riskoviv commented on Nov 16, 2023

    @riskoviv

    Tomaqa, yes, you're right. Showing the ghost text is not so important, main issue is lack of inserting of suggested text to positions of all cursors.

  10. hediet commented on Jul 9, 2024

    @hediet
    Member

    We have this for a while now 🥳 #205562

  11. locked and limited conversation to collaborators on Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinline-completionspapercut 🩸verified

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions