Skip to content

Add command/key binding to accept replacements #478

Open

Description

@andrejohansson

Thank you for an excellent plugin.

I was just wondering if there is any key binding or command to accept the clippy replacements in the phantom popups?
image

Or any keybindings to navigate the popups at all?
image

Sorry if I'm asking in the wrong place, it´s kind of unclear to me which parts belong to this plugin, lsp or sublime native! :-)

Activity

  1. ehuss commented on Dec 24, 2021

    @ehuss

    There is not a keybinding for accepting suggestions. That does sound like a good idea, though!

    The second picture looks to come from Sublime LSP which is a separate package. I'm not very familiar with it, so I'm not sure what it is capable of.

  2. LollipopFt commented on Jan 22, 2022

    @LollipopFt

    hi @andrejohansson , sorry if i disturbed you but what settings did you use to have the yellow, blue and green backgrounds in the first image for rust enhanced?

  3. andrejohansson commented on Jan 22, 2022

    @andrejohansson
    Author
  4. LollipopFt commented on Jan 24, 2022

    @LollipopFt
  5. changed the title [-]Question: Key binding for clippy actions?[/-] [+]Add command/key binding to accept replacements[/+] on Jun 11, 2022
  6. eugenesvk commented on May 20, 2024

    @eugenesvk

    That'd be a very nice feature indeed! Thought is there a Sublime API to track which popup is active? As far as I understand, you only get to register a function that reacts to clicks/close events

    Though there is a command to go to the next/previous suggestion, maybe hat could be of help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-suggestionsArea: diagnostic suggestions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions