This is an old revision of the document!
Various utilities, that make FreeBSD developer life easier
This page has been created with the intention of exchanging opinions on which tools help you to improve your work on FreeBSD source tree. It shares some good development habits as well.
Source code editing:
nvi(1)
editors/vim<put some macros here>
editors/emacs<put some macros here>
Source code reading:
devel/ctags
Extended ctags
See if these are very different from typical tags..
devel/cscopeLets you to quickly move between source code files. It builds a database of tags (similar to ctags), which is used later to jump between function prototypes/definitions.
It can be easily integrated with vim(1) editor as well as Emacs (xcscope.el
can be chosen as an options at cscope installation time)
dev/cscoutAnalyzes source code and lets you to start local WWW server. Once it's done, you can move through your source-code base in a Web browser; it provides call graph generation and other enhencements.
Additional tools:
textproc/diffstat
lets you to see a statistics of a patch in terms of inserted/deleted/changed lines. It's similar to what you see on git-related mailing lists.
If you're currently reading this page and you use tool that isn't mentioned here but improves your code-writing tasks, either update the page or let me know:
wkoszek@freebsd.org