.inl 을 C++로 인식시키는 방법입니다.
인식시킬 언어를 알아냄
인식시킬 언어를 알아냄
$ ctags --list-maps Asm *.asm *.ASM *.s *.S *.A51 *.29[kK] *.[68][68][kKsSxX] *.[xX][68][68] Asp *.asp *.asa Awk *.awk *.gawk *.mawk Basic *.bas *.bi *.bb *.pb BETA *.bet C *.c C++ *.c++ *.cc *.cp *.cpp *.cxx *.h *.h++ *.hh *.hp *.hpp *.hxx *.C *.H *.inl C# *.cs Cobol *.cbl *.cob *.CBL *.COB Eiffel *.e Erlang *.erl *.ERL *.hrl *.HRL Fortran *.f *.for *.ftn *.f77 *.f90 *.f95 *.F *.FOR *.FTN *.F77 *.F90 *.F95 HTML *.htm *.html Java *.java JavaScript *.js Lisp *.cl *.clisp *.el *.l *.lisp *.lsp *.ml Lua *.lua Make *.mak *.mk [Mm]akefile Pascal *.p *.pas Perl *.pl *.pm *.plx *.perl PHP *.php *.php3 *.phtml Python *.py *.pyx *.pxd *.scons REXX *.cmd *.rexx *.rx Ruby *.rb *.ruby Scheme *.SCM *.SM *.sch *.scheme *.scm *.sm Sh *.sh *.SH *.bsh *.bash *.ksh *.zsh *.ebuild *.eclass SLang *.sl SML *.sml *.sig SQL *.sql Tcl *.tcl *.tk *.wish *.itcl Vera *.vr *.vri *.vrh Verilog *.v Vim *.vim YACC *.y
# .inl .h .cpp 파일을 c++언어로 인신시켜 tags파일을 만든다. $ ctags --langmap=C++:.inl.h.cpp -R *
설정파일 셋팅
- ~/.ctags 파일을 만든후 옵션을 적어 넣는다.
--langmap=C++:.c++.cc.cp.cpp.cxx.h.h++.hh.hp.hpp.hxx.C.H.inl