Author Topic: Code Completion with class templates  (Read 2219 times)

Offline qtreez

  • Multiple posting newcomer
  • *
  • Posts: 20
Code Completion with class templates
« on: March 01, 2015, 07:05:17 pm »
It is possible that Code Completions works with templates?

For example class wxListBox inherits from the wxControlWithItemsBase (indirectly, but that is not important) and wxWindowWithItems is class template as you can see below:


Code
class  wxControlWithItemsBase :
    public wxWindowWithItems<wxControl, wxItemContainer>
{ };

Code
template <class W, class C>
class wxWindowWithItems : public W, public C
{ };

Code Completion doesn't complete methods from wxControl nor wxItemContainer classes.
This feature would be quite helpful.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code Completion with class templates
« Reply #1 on: March 02, 2015, 09:14:17 pm »
Can you reproduce this problem with a simple example that doesn't use any other library?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]