Skip to content

Lsp-mode doesn't filter input text #3408

Open
@victorpigmeo

Description

@victorpigmeo

Thank you for the bug report

  • I am using the latest version of lsp-mode related packages.
  • I checked FAQ and Troubleshooting sections
  • You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain

Bug description

I'm using lsp-dart and I'm experiencing a glitch that I described on this issue.
When I type a { anywhere in my code, specially when is a function start the snippets menu open to fast, so when I tap Enter to break the line, it applies the snippet selected on the context menu opened. According to the other issue this occurs because lsp-mode doesn't filter the input text.

Steps to reproduce

  • install dart-lsp
  • open a .dart file
  • type something like void test(){<enter>}

Expected behavior

The expected behavior is that the menu doesn't open on some places, like the example above.

Which Language Server did you use?

lsp-dart

OS

Linux

Error callstack

No response

Anything else?

maybe @ericdallo can provide more information about this on lsp-dart side

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions