From 037fdcaf20dcc050f43dd449c2ce9b83b50a4ea4 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 17 Jan 2023 16:21:46 +0100 Subject: CONTRIBUTING: add hint for using cscope --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7dd36152c7..fe195b4aa9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -221,6 +221,13 @@ source code and navigate it. These tools can integrate with editors like `Vim` a - http://cscope.sourceforge.net/cscope_vim_tutorial.html - https://www.emacswiki.org/emacs/CScopeAndEmacs +For cscope, you can also set `$SOURCEDIRS` to include other source trees and navigate +those sources. For example, +``` +export SOURCEDIRS=/path/to/glib:/path/to/libndp +cscope -b -q -R -ssrc +``` + Miscellaneous --------------------------- -- cgit v1.2.1