forked from OSchip/llvm-project
8f3678dbab
Summary: For completion items that would trigger include insertions (i.e. index symbols that are not #included yet), add a visual indicator "+" before the completion label. The inserted headers will appear in the completion detail. Open to suggestions for better visual indicators; "+" was picked because it seems cleaner than a few other candidates I've tried (*, #, @ ...). The displayed header would be like a/b/c.h (without quote) or <vector> for system headers. I didn't add quotation or "#include" because they can take up limited space and do not provide additional information after users know what the headers are. I think a header alone should be obvious for users to infer that this is an include header.. To align indentation, also prepend ' ' to labels of candidates that would not trigger include insertions (only for completions where index results are possible). Vim: {F6357587} vscode: {F6357589} {F6357591} Reviewers: sammccall, ilya-biryukov, hokein Reviewed By: sammccall Subscribers: MaskRay, jkorous, cfe-commits Differential Revision: https://reviews.llvm.org/D48163 llvm-svn: 334828 |
||
---|---|---|
.. | ||
Inputs | ||
completion-snippets.test | ||
completion.test | ||
crash-non-added-files.test | ||
delimited-input-comment-at-the-end.test | ||
diagnostics.test | ||
execute-command.test | ||
extra-flags.test | ||
fixits.test | ||
formatting.test | ||
hover.test | ||
initialize-params-invalid.test | ||
initialize-params.test | ||
input-mirror.test | ||
lit.local.cfg | ||
protocol.test | ||
rename.test | ||
shutdown-with-exit.test | ||
shutdown-without-exit.test | ||
signature-help.test | ||
spaces-in-delimited-input.test | ||
symbols.test | ||
test-uri-posix.test | ||
test-uri-windows.test | ||
textdocument-didchange-fail.test | ||
too_large.test | ||
trace.test | ||
unsupported-method.test | ||
xrefs.test |