[PATCH] D128621: [clangd] Do not try to use $0 as a placeholder in completion snippets

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 12 05:36:58 PDT 2022


ilya-biryukov added a comment.

Another alternative that I think should give the best UX is to replace `${0:named}` with `$0`.
The items will look different, but will behave identically to the old behavior before VSCode change, i.e. won't "eat" an extra tab press at the end of completion session.
I feel that's the trade-off we should pick.

What do others think?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128621/new/

https://reviews.llvm.org/D128621



More information about the cfe-commits mailing list