llvm-project/clang-tools-extra/include-fixer
Philipp Stephani f8ff2ef966 Improve completion experience for headers
Summary: When calling `completing-read', we should provide a default to prevent the behavior described in https://github.com/DarwinAwardWinner/ido-completing-read-plus#why-does-ret-sometimes-not-select-the-first-completion-on-the-list--why-is-there-an-empty-entry-at-the-beginning-of-the-completion-list--what-happened-to-old-style-default-selection.  Also, don't use an assertion to check whether the user selected a header; raise a proper signal instead.

Reviewers: klimek

Reviewed By: klimek

Subscribers: cfe-commits

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

llvm-svn: 329566
2018-04-09 13:31:44 +00:00
..
find-all-symbols Revert "[Tooling] [1/1] Refactor FrontendActionFactory::create() to return std::unique_ptr<>" 2018-02-27 15:54:41 +00:00
plugin [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
tool Improve completion experience for headers 2018-04-09 13:31:44 +00:00
CMakeLists.txt [include-fixer] Add fuzzy SymbolIndex, where identifier needn't match exactly. 2017-03-13 15:55:59 +00:00
FuzzySymbolIndex.cpp [include-fixer] Add fuzzy SymbolIndex, where identifier needn't match exactly. 2017-03-13 15:55:59 +00:00
FuzzySymbolIndex.h [include-fixer] Add fuzzy SymbolIndex, where identifier needn't match exactly. 2017-03-13 15:55:59 +00:00
InMemorySymbolIndex.cpp [include-fixer] Add usage count to find-all-symbols. 2017-02-28 08:13:15 +00:00
InMemorySymbolIndex.h [include-fixer] Add usage count to find-all-symbols. 2017-02-28 08:13:15 +00:00
IncludeFixer.cpp [include-fixer] Remove line number from Symbol identity 2017-03-09 10:47:44 +00:00
IncludeFixer.h Reapply "Fix for shared_ptrification in Clang" 2017-01-06 19:49:09 +00:00
IncludeFixerContext.cpp [include-fixer] Support processing multiple files in one run. 2016-08-09 08:26:19 +00:00
IncludeFixerContext.h [include-fixer] Support processing multiple files in one run. 2016-08-09 08:26:19 +00:00
SymbolIndex.h [include-fixer] Add usage count to find-all-symbols. 2017-02-28 08:13:15 +00:00
SymbolIndexManager.cpp [include-fixer] Add fuzzy SymbolIndex, where identifier needn't match exactly. 2017-03-13 15:55:59 +00:00
SymbolIndexManager.h Spelling mistakes in comments. NFCI. 2017-03-30 13:10:33 +00:00
YamlSymbolIndex.cpp [include-fixer] Add usage count to find-all-symbols. 2017-02-28 08:13:15 +00:00
YamlSymbolIndex.h [include-fixer] Add usage count to find-all-symbols. 2017-02-28 08:13:15 +00:00