manu-projects / manu-cproject

1 stars 0 forks source link

Doc: Ctags #50

Open neverkas opened 2 years ago

neverkas commented 2 years ago

Problema ctags: Unknown option: --kinds-C

Solucion

  1. Ejecutar sudo apt remove exuberant-ctags para remover el paquete viejo
  2. Chequear que la version de ctags sea la correcta con ctags --version
jelou@jelou-Lenovo-B570:~$ ctags --version
Universal Ctags 0.0.0, Copyright (C) 2015 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Jan  6 2019, 23:23:29
  URL: https://ctags.io/
  Optional compiled features: +wildcards, +regex, +iconv, +option-directory, +xpath, +json, +interactive, +sandbox, +yaml

Informacion ajena al problema, pero adicional sobre el package

Parameter -x print a tabular, human-readable cross reference (xref) file to standard output instead of generating a tag file. The information contained in the output includes: the tag name; the kind of tag; the line number, file name, and source line (with extra white space condensed) of the file which defines the tag. No tag file is written and all options affecting tag file output will be ignored.

Example applications for this feature are generating a listing of all functions located in a source file (e.g. "ctags -x --kinds-c=f file"

Referencia