文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>create TAGS for emacs -- etags

create TAGS for emacs -- etags

时间:2006-08-15  来源:rwen2012

1.
find | egrep '(\.h|\.cpp|\.c)$' | xargs etags -a --declarations --members

2.

#!/bin/sh
trap "rm -f /tmp/$$" 0 1 2 3 15
rm -f ./TAGS
find `pwd`/ -type f -name "*.[chSs]" -print | \
xargs etags --append -o TAGS

find . -type d -print | \
while read DIR; do
[ "$DIR" != "." ] && ln -f -s `pwd`/TAGS $DIR
done

创建 TAGS 文件后,
通过 M-. 可以查找声明
C-u M-. 可以查找下一个.
相关阅读 更多 +
排行榜 更多 +
茶叶蛋大冒险免费版

茶叶蛋大冒险免费版

休闲益智 下载
全民帮帮她

全民帮帮她

休闲益智 下载
屋顶旅行

屋顶旅行

休闲益智 下载