In my .h I declare a struct and in the class I declare the member variable. I then attempt to get list-symbols to work but it won't in a few cases:
From class .h
private:
struct _OUTPUT_THREAD_DATA
{
uint8_t TxPortIpAddr[4];
uint8_t TxPortMacAddr[6];
uint8_t DstIpAddr[4];
uint8_t DstMacAddr[6];
};
std::vector<_OUTPUT_THREAD_DATA *> m_OutThread;
Within class function
std::vector<_OUTPUT_THREAD_DATA *>::iterator iter;
for (iter = m_OutThread.begin();
iter != m_OutThread.end();
++iter)
{
(*iter)->
}
When I type the -> I expect to get an auto list of the variables and it isn't working. If I change the std::vector usage to just use the structure and not pointer to the structure, this test case works: (*iter). with the '.'.
Tagging also seems to fail in that when I put my cursor on the correctly written code (*iter)->TxPortIpAddr, the tagging will find other definitions of TxPortIpAddr rather than the structure reference when I'm in my full code base. I think that's just because the parser isn't parsing the code as expected.
Part of my setup that is unique is that I'm tagging the Linux headers for std:: types because I'm just using the MAC to edit the files and I'm building for Linux environments.