[PATCH] D50835: [clangd] Add parantheses while auto-completing functions.
    Kadir Cetinkaya via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Aug 16 06:59:36 PDT 2018
    
    
  
kadircet added inline comments.
================
Comment at: clangd/CodeComplete.h:85
+
+  /// Enables cursor to be moved around according to completions needs even when
+  /// snippets are disabled. For example selecting a function with parameters as
----------------
ioeric wrote:
> IIRC, the goal of this patch is to allow disabling snippet templates for function parameters while still allow appending `()` or `($0)` to function candidates. If that's still the case, I think what we want is probably an option like `DisableSnippetTemplateForFunctionArgs`? 
Yeah, that makes totally more sense. Thanks!
Repository:
  rCTE Clang Tools Extra
https://reviews.llvm.org/D50835
    
    
More information about the cfe-commits
mailing list