Community
Participate
Working Groups
using the following, with proper include paths: #include <list> class Ptr {}; typedef std::list< p[CTRL+SPACE] The context for the result list seems to be std, when it should be the compilation unit. The list should be the same as content assist on new line starting with p, currently the list is the same as content assist on a new line starting with std::p
resolvePrefix is not getting called, the result list shows only keywords and macros. To do content assist here I would expect that the IASTName would be part of either an IASTTypeId or an IASTIdExpression
Created attachment 57720 [details] GNUCPPSourceParser fix This is a very small fix to the parser to allow completions in template arguments. Originally, the parser was looking for a '>' token, and when it didn't find one, it ignored the template arguments that it processed and eventually backtracked, resulting in no IASTNames that were hooked up to the translation unit. Now, the parser will also consider the template arguments when an End Of Completion token is reached instead of of a '>' token.
Excellent. Thanks, Bryan! Patch applied.