Author Topic: Using Quick Filters in the Defs Tool Window  (Read 9264 times)

Lisa

  • Senior Community Member
  • Posts: 238
  • Hero Points: 24
  • User-friendly geek-speak translator extraordinaire
Using Quick Filters in the Defs Tool Window
« on: January 31, 2008, 03:05:42 PM »
Quick Filters let you filter out only certain types of symbols displayed in the Defs tool window.

For example, to quickly see if the current file declares any global variables, right-click in the Defs window and select Quick filters > Pick one > Variables > Global Variables. Do you want to also filter out the module level static variables? Right-click again and uncheck Scope > Static

To quickly see what the current file includes, right-click and select Quick filters > Pick one > Others > Includes and Imports.

To reset the display to show everything, right-click and select Quick filters > Show all tags.

zarko

  • Junior Community Member
  • Posts: 4
  • Hero Points: 0
Re: Using Quick Filters in the Defs Tool Window
« Reply #1 on: April 08, 2008, 01:08:26 AM »
Is there a way to do this programatically, i.e. in a macro that would be able to find all global variables in all files in the current project?

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: Using Quick Filters in the Defs Tool Window
« Reply #2 on: April 08, 2008, 01:43:14 AM »
This should be possible. With the 'Find Symbols' toolbar you can already do this interactively.
You could check the code in 'tagfind.e' how it's implemented and extract the parts you need.
Good luck,
HS2