How to ignore a folder in netX Studio and exclude it from being indexed/searched?

Q

I have a project containing a folder with a large number of files which I don't need to see or open in netX Studio. The large number of files slows down netX Studio so if it is possible I would like instruct netX Studio to ignore it but still keep it on the filesystem.

How to ignore a folder in netX Studio and exclude it from being indexed/searched?

A

To ignore a folder and hide it entirely in netX Studio:

  1. Right-click on the project root in 'Project Explorer' and select 'Properties'
  2. Select 'Resource > Resource Filters' from the left-hand side
  3. Click the 'Add...' button to add a resource filter:
    1. Select 'Filter type > Exclude all'
    2. Select 'Applies to > Folders'
    3. Check 'All children (recursive)
    4. Under 'Filter Details' select 'Project Relative Path'
    5. Enter the relative path to the folder in the text field after 'matches'
  4. Click 'OK' to add the resource filter and then 'OK' again to apply it

(tick) The filtered folder should disappear from Project Explorer and will not be indexed or searched.


 Click here to see step by step screenshots...


After you have ignored the folder in netX Studio, you might also want to exclude it from the WAF build. This would speed up the build and the netX Studio wscript interpreter as they both traverse the directory tree searching for wscript files.


To exclude the folder from the WAF build:

  1. Open the project main wscript which is in the project's root folder
  2. Edit the wscript so that autorecurse() is called with an 'excl' parameter specifying the folder(s) to exclude:

  3. Save the wscript and rebuild the project

(tick) The excluded folder will be skipped by the WAF build.