맥OS ctags

John Jeong (토론 | 기여)님의 2017년 4월 22일 (토) 19:57 판 (→‎기본 ctags)

1 개념

맥OS ctags
macOS ctags
  • 맥OS에서의 ctags

2 기본 ctags

  • "ctags -R" 명령 실행
johnjeong@MacBook:~/test$ctags -R
/Library/Developer/CommandLineTools/usr/bin/ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
→ 맥OS가 기본적으로 가지고 있는 ctags는 가장 많이 사용하는 명령인 "ctags -R"가 동작하지 않음

3 ctags 업그레이드

johnjeong@MacBook:~/test$brew install ctags
==> Downloading https://homebrew.bintray.com/bottles/ctags-5.8_1.sierra.bottle.t
######################################################################## 100.0%
==> Pouring ctags-5.8_1.sierra.bottle.tar.gz
==> Caveats
Under some circumstances, emacs and ctags can conflict. By default,
emacs provides an executable `ctags` that would conflict with the
executable of the same name that ctags provides. To prevent this,
Homebrew removes the emacs `ctags` and its manpage before linking.

However, if you install emacs with the `--keep-ctags` option, then
the `ctags` emacs provides will not be removed. In that case, you
won't be able to install ctags successfully. It will build but not
link.
==> Summary
🍺  /usr/local/Cellar/ctags/5.8_1: 8 files, 341.6KB
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}