[완료] cygwin 의 ctags 가 서브디렉토리를 스켄하지 않는군요...

doodoo의 이미지

시그윈에서 ctags -R . * 했더니...
현재 디렉토리만 검색을해서 tags 파일을 생성하는 군요...
이리저리 뒤지다가 발견한 내용...

ctags --help 내용입니다.

-r REGEXP, --regex=REGEXP or --regex=@regexfile
        Make a tag for each line matching a regular expression pattern
        in the following files.  {LANGUAGE}REGEXP uses REGEXP for LANGUAGE
        files only.  REGEXFILE is a file containing one REGEXP per line.
        REGEXP takes the form /TAGREGEXP/TAGNAME/MODS, where TAGNAME/ is
        optional.  The TAGREGEXP pattern is anchored (as if preceded by ^).
        If TAGNAME/ is present, the tags created are named.
        For example Tcl named tags can be created with:
          --regex="/proc[ \t]+\([^ \t]+\)/\1/.".
        MODS are optional one-letter modifiers: `i' means to ignore case,
        `m' means to allow multi-line matches, `s' implies `m' and
        causes dot to match any character, including newline.
-R, --no-regex
        Don't create tags from regexps for the following files.

다음은 man ctags 내용

       -R   Equivalent to --recurse.

어떻해야 할까요?..ㅠㅠ

lovejc의 이미지

ctags -R .

이렇게 하심 되요.

doodoo의 이미지

ctags -R . * 하면 460 바이트의 tags 파일 생성 하지만 현재 디렉토리만 스켄...

ctags -R . 하면 0 바이트의 tags 파일 생성합니다....

그런 이유로 질문을 했지요 ㅠㅠ

lovejc의 이미지

ctags -R . 이 맞는 방식인데 안된다면 다른 문제입니다.
권한 문제가 가장 클거 같은데...
subdirectory 및 file read 권한이 있는지 확인 하시고요.

doodoo의 이미지

흐...

다음 리포지터리를 서울대 쪽으로 바꾸어 다시한번 ctags (devel 페키지) 만 업데이트
했습니다....

버젼이 바뀌었군요... 21.4.2 같은 이상한 번호에서 5.7로...

Exuberant Ctags 5.7, Copyright (C) 1996-2007 Darren Hiebert 

요렇게 바뀌었군요..ㅎㅎㅎㅎ

49599 바이트의 tags 파일이 생성 되었습니다...정상인것 같군요...

혹시 다음에 있는 페키지는 오래된것 입니까?
아시는분 있나요?