SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: pmwhite on April 16, 2012, 07:39:18 PM

Title: Find Symbol not finding a symbol
Post by: pmwhite on April 16, 2012, 07:39:18 PM
Screenshots demonstrate the problem. When I search for "NetImpl", I see a result, "Dlc::NetImpl". However, when I search for "Dlc::NetImpl", there are no matches.

The problem doesn't seem to be related to the namespace separator, since other queries that include "::" work.

I am running version 17.0.0.1 on Win32, but I don't know if this behavior exists in stable version 16.
Title: Re: Find Symbol not finding a symbol
Post by: Dennis on April 25, 2012, 08:00:14 PM
Try ctw::Dlc::NetImpl, and make sure the combo box is set to "Use Context Tagging".  The search engine or Find Symbol isn't smart enough to pick Dlc out of thin air.
Title: Re: Find Symbol not finding a symbol
Post by: pmwhite on April 30, 2012, 10:17:26 PM
Searching for "ctw::Dlc::NetImpl" also does not find it. The combo box is set as you said. Last tested on v17 beta3.
Title: Re: Find Symbol not finding a symbol
Post by: Dennis on May 01, 2012, 01:05:27 PM
The "Use Context Tagging(R)" setting depends on the language mode of the current file open in the editor.   "ctw::Dlc::NetImpl" should work if the current file is C++, otherwise, it won't really know how to decompose the qualified type name expression.

You might also want to verify that you don't have any symbol type filters set.  Does it find "ctw" when you type just that?
Title: Re: Find Symbol not finding a symbol
Post by: pmwhite on May 01, 2012, 01:55:37 PM
Dennis, oddly now everything works fine. I didn't change anything between yesterday and today, but today I am able to find "Dlc::NetImpl", as well as "ctw::Dlc::NetImpl", and even "ctw/Dlc/NetImpl". Maybe my tag file was messed up.

Thanks for the suggestions.