[cfe-commits] r112057 - in /cfe/trunk: include/clang/Sema/CodeCompleteConsumer.h lib/Sema/SemaCodeComplete.cpp

Douglas Gregor dgregor at apple.com
Wed Aug 25 11:08:15 PDT 2010


On Aug 25, 2010, at 11:04 AM, Sebastian Redl wrote:

> 
> On Aug 25, 2010, at 10:10 AM, Douglas Gregor wrote:
> 
>> Author: dgregor
>> Date: Wed Aug 25 12:10:00 2010
>> New Revision: 112057
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=112057&view=rev
>> Log:
>> Add a code-completion context for "natural language" completions, so
>> that ASTUnit knows not to try to provide completions there.
> 
> Hmm ... if there's a good way to properly access the contents of adjacent comments, this would be wonderful to add hooks for, say, Doxygen directives.
> As such, it might make sense to separate comments from strings.

That would be super-cool. If someone gets interested enough to add completion hooks for Doxygen directives, it'll be easy enough to separate this into two different kinds of completions.

> Oh, and in strings we could code-complete escape sequences (I know some Java IDEs that do that) or even printf/scanf directives. What fun we could have!


Okay, *that* is crazy.

	- Doug



More information about the cfe-commits mailing list