Author Topic: Tagging and namespaces  (Read 1896 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Tagging and namespaces
« on: September 08, 2016, 06:20:15 PM »
Should slick recognize
   using namespace ::aa::bb::cc;
?


Doesn't seem to.


Is there something I can do to make it recognize these? (sort of like the preprocessor definitions in a workspace).


Dennis

  • Senior Community Member
  • Posts: 3954
  • Hero Points: 515
Re: Tagging and namespaces
« Reply #1 on: September 08, 2016, 06:30:51 PM »
Will need a more complete example.  We parse using statements (you see them in the Defs tool window) and we factor the using statements in the current file in when doing Context Tagging.

The only real limitation is that if you write side-effecting include files with using statements in them, all bets are off, until we start doing full preprocessing, we won't be able to detect that a using statement hidden in an include file has anything to do with the current file.