Universal Ctagsの設定ファイル

設定ファイルのパス

 $HOME/.ctagds.d/default.ctags
  • $HOME/.ctagsはダメっぽい

設定の例

 --langdef=autohotkey
 --langmap=autohotkey:.ahk
 --regex-autohotkey=/^[ \t]*([a-zA-Z0-9_]+)\:\s*$/\1/l,label/
 --regex-autohotkey=/^[ \t]*([a-zA-Z0-9_]+)[ |\t]*:?=/\1/v,variable/
 --regex-autohotkey=/^[ \t]*(NOTE|note|Note)[ \t]*\:[ \t]*(.*)/\2/n,note/
 --regex-autohotkey=/^[ \t]*(TODO|todo|Todo)[ \t]*\:[ \t]*(.*)/\2/t,todo/
 --regex-autohotkey=/^([a-zA-Z0-9_@]+)[ \t]*\(.*\)[ \t]*[color=red]\[/color]{/\1/f,function/

参考


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

Last-modified: 2018-09-10 (月) 05:21:13