Skip to content

Prevent real time suggestions blocking editor #1

Description

@intitni
  • Make the request interval shorter.
  • The first request will trigger the XPC Service to provide a suggestion, but won't wait for it to finish. Instead, if will return immediately.
  • The XPCService will cache the suggestion, if there is a future request asking for suggestions for the same code and cursor position, return the cache. Otherwise, treat it as a first request.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions