Recent

Author Topic: for "find in file" add skipdir  (Read 614 times)

gucao

  • New Member
  • *
  • Posts: 31
for "find in file" add skipdir
« on: April 15, 2022, 05:09:51 am »
tr:
I modified some code in 2.2.0 to add the ability to skip certain directories for "find in file"
I hope someone can help me submit the code to the dev team


i open a issues:https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39711
« Last Edit: April 17, 2022, 05:47:20 pm by gucao »

af0815

  • Hero Member
  • *****
  • Posts: 995
Re: for "find in file" add skipdir
« Reply #1 on: April 15, 2022, 10:33:11 am »
You can use the link from the forum "Lazarus Bugtracker" https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues?sort=created_date&state=opened and open there a new issue with the improvement. There you can place your files. But make the diffs from the actual master of Lazarus, not from a 'older' release.

regards
Andreas

wp

  • Hero Member
  • *****
  • Posts: 9898
Re: for "find in file" add skipdir
« Reply #2 on: April 15, 2022, 11:25:03 am »
Why skip only one dir?

gucao

  • New Member
  • *
  • Posts: 31
Re: for "find in file" add skipdir
« Reply #3 on: April 15, 2022, 12:38:54 pm »
You can use the link from the forum "Lazarus Bugtracker" https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues?sort=created_date&state=opened and open there a new issue with the improvement. There you can place your files. But make the diffs from the actual master of Lazarus, not from a 'older' release.
I didn't think it was a bug at first, so I posted it here. I will try it later as per your instructions.

gucao

  • New Member
  • *
  • Posts: 31
Re: for "find in file" add skipdir
« Reply #4 on: April 15, 2022, 12:42:40 pm »
Why skip only one dir?
It's like file mask,I changed it according to “filemask”。
you can use“;” to skip multiple directories.
for example  backup;lib

wp

  • Hero Member
  • *****
  • Posts: 9898
Re: for "find in file" add skipdir
« Reply #5 on: April 15, 2022, 01:59:52 pm »
Ah, I only looked at your screenshots, not in the patches.

gucao

  • New Member
  • *
  • Posts: 31
Re: for "find in file" add skipdir
« Reply #6 on: April 17, 2022, 05:50:23 pm »
Please use the latest uploaded file, there is a problem with the previously uploaded file.

 

TinyPortal © 2005-2018