Author Topic: trying to exclude subdirectory in project tag file  (Read 174 times)

pbrightly

  • Community Member
  • Posts: 51
  • Hero Points: 6
trying to exclude subdirectory in project tag file
« on: November 20, 2021, 02:25:47 am »
My team's git repo includes sub-builds that (unfortunately) duplicate all files in the repo.  When I go to a tag, I can get up to 6 options popping up.  So.. I tried to rebuild my tag file and exclude the offending subdirectories.  Two problems:
1) If I select all the bad files, the option to remove them is grayed out.
2) If I change the project to exclude directory "smotainer/", it has no effect when I rebuild the tag file.  If I specify **/smotainer/** or smotainer/, it always gets saved as "smotainer/".  That should be fine, according to the help-doc.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3479
  • Hero Points: 466
Re: trying to exclude subdirectory in project tag file
« Reply #1 on: November 22, 2021, 04:52:50 pm »
Did you add "smotainer/" to each wildcard spec?  It looks you might have missed the "*.py" spec.

When you retag are you doing Project > Retag Workspace..., and is "[ ] Retag modified files only" unchecked (which means to rebuild the tag file from scratch).

Also, it looks like some of the excludes are unnecessary, considering your wildcard is "*.go".  That should not cause any problems, just adds complexity.

Otherwise, what you were doing appears to be correct and should have worked.

pbrightly

  • Community Member
  • Posts: 51
  • Hero Points: 6
Re: trying to exclude subdirectory in project tag file
« Reply #2 on: November 26, 2021, 07:22:58 pm »
Now that is really not intuitive.  I had none of the wildcard specs selected.  So it assumed *.go (the first).  I just now selected all wild card specs, and the source files properties window shows only the last.
Nevertheless, thank you. I went through every single *.??? item, added "smotainer/" and that  did the job.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 3479
  • Hero Points: 466
Re: trying to exclude subdirectory in project tag file
« Reply #3 on: November 29, 2021, 08:13:28 pm »
Yes, the "Add Wildcard" dialog makes it easy to add a series of wildcard specs, but there is no way to edit them again as a group.  Maybe in a future release.