From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: "João Távora" <joaotavora@gmail.com>
Cc: 61532@debbugs.gnu.org, Augusto Stoffel <arstoffel@gmail.com>,
Theodor Thornhill <theo@thornhill.no>
Subject: bug#61532: 30.0.50; [PATCH]: Make completions without sortText fall to back of the list
Date: Sun, 19 Feb 2023 17:56:06 -0500 [thread overview]
Message-ID: <jwv3571qni7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CALDnm50iKj5rtrfjE1yMyEuHJqt0xpZt-v_dirMZ3Fnqd=y=Ag@mail.gmail.com> ("João Távora"'s message of "Sun, 19 Feb 2023 18:19:02 +0000")
> Anyway, this boils down to a limitation of LSP, that it doesn't report on
> what kind of matching style it uses for textDocument/completion.
It's not just "matching style". It's that it's designed under the
premise that all the control is on the LSP server side, and the client
(editor) side just provides a "dumb UI".
A better API is probably harder to design (e.g. you need to define what
is a "matching style", for one), admittedly.
> At least it used to be a limitation of LSP, maybe someone else has
> fixed it in the meantime, or added something that we can use.
Not that I know. But I think if we want that to happen, we need to move
out of our comfort zone and start participating in discussions over in
VScode land where the decisions are made :-(
Stefan
next prev parent reply other threads:[~2023-02-19 22:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-15 14:52 bug#61532: 30.0.50; [PATCH]: Make completions without sortText fall to back of the list Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-18 22:18 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 11:13 ` João Távora
2023-02-19 16:08 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 18:19 ` João Távora
2023-02-19 18:43 ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 18:48 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 22:47 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 23:39 ` João Távora
2023-02-19 23:53 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 18:52 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 22:56 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-02-21 8:24 ` Augusto Stoffel
2023-02-21 8:24 ` Augusto Stoffel
2023-02-21 12:47 ` João Távora
2023-02-21 14:08 ` Augusto Stoffel
2023-02-21 14:28 ` João Távora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv3571qni7.fsf-monnier+emacs@gnu.org \
--to=bug-gnu-emacs@gnu.org \
--cc=61532@debbugs.gnu.org \
--cc=arstoffel@gmail.com \
--cc=joaotavora@gmail.com \
--cc=monnier@iro.umontreal.ca \
--cc=theo@thornhill.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).