grep in current file

Andreas Pakulat apaku at gmx.de
Thu May 24 13:05:06 BST 2007


On 24.05.07 08:35:36, hg wrote:
> Hi,
> 
> I like the project wide grep you supply in KDevelop. It's powerful and very 
> helpful.
> The only thing I miss is a grep in the current file (corresponding to emacs 
> occur command). I guess it's a common task so maybe I'm just overlooking 
> something.
> Is there a way to grep just in the current file displaying the results 
> hyperlinked in the grep outputview?

No, but you can use regexps in the normal find-dialog from kate.

> I mean a way other than writing the name explicit in the files wildcard 
> section of the regular grep dialog.
> 
> If not I suggest to add an option in that dialog to restrict the grep to the 
> current file.

Won't happen in KDevelop3.4 unless somebody has a patch and the feature
freeze is lifted (which Stephan Kulow doesn't want to do unless
absolutely needed).

Andreas

-- 
You get along very well with everyone except animals and people.




More information about the KDevelop mailing list