#author("2020-07-23T23:54:00+00:00","","")
#author("2020-07-24T00:03:32+00:00","","")
#topicpath

///////////////////////////////////////////////////////////////////////////////
* 目次 [#l3c32c6b]
#contents();

////////////////////////////////////////////////////////////////////////////////
* ebrowse (ebrowse for Emacs)の利用 [#w65b0682]
- etags/ctags 同様、C++ のコードから class のデータベースを作成し、それを emacs で読み込み、class 定義などに Jump 出来るというもの。
- まずは、 BROWSE file を生成する
 $ cd ${PROGRAM_TOP_DIR}
 $ find | grep "C$\|h$" | xargs ebrowse -f  # 対象となるソース・ヘッダを ebrowse に渡す
- emacs に BROWSE ファイルを読みこませる
 C-x C-f: ${PROGRAM_TOP_DIR}/BROWSE
- emacs から操作する
|~Key binding  |~command |~description |
|return        |ebrowse-find-class-declaration| 当該の class 定義に Jump |
|C-x 4 .       |find-tag-other-window  |- |
|C-x 5 .       |find-tag-other-frame   | - |

//==============================================================================
** Links [#l734dbc6]
- [[A Class Browser for C++>http://www.sunsite.ualberta.ca/Documentation/Gnu/emacs-21.1/html_chapter/ebrowse.html]]
- [[A Class Browser for C++>https://www.gnu.org/software/emacs/manual/html_mono/ebrowse.html]]



トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS