[all-commits] [llvm/llvm-project] 6ba0a4: [clangd][vscode] Enable dot-to-arrow fixes in clan...

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Mar 9 06:02:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ba0a4ec3bbfe71050b7b5c87f46820f3500e211
      https://github.com/llvm/llvm-project/commit/6ba0a4ec3bbfe71050b7b5c87f46820f3500e211
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-03-09 (Mon, 09 Mar 2020)

  Changed paths:
    M clang-tools-extra/clangd/clients/clangd-vscode/src/extension.ts

  Log Message:
  -----------
  [clangd][vscode] Enable dot-to-arrow fixes in clangd completion.

Summary:
The previous issue is that the item was filtered out by vscode, because
the prefix (which contains ".") are not matched against the filterText.

This patch works around it by adjusting the item filterText, inspired by
https://reviews.llvm.org/D75623.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75739




More information about the All-commits mailing list