mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 13:46:00 +02:00
ctags: add page (#3852)
This commit is contained in:
parent
b100ac99cd
commit
2705d6ea00
1 changed files with 16 additions and 0 deletions
16
pages/common/ctags.md
Normal file
16
pages/common/ctags.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# ctags
|
||||
|
||||
> Generates an index (or tag) file of language objects found in source files for many popular programming languages.
|
||||
> More information: <https://ctags.io/>.
|
||||
|
||||
- Generate tags for a single file, and output them to a file named "tags" in the current directory, overwriting the file if it exists:
|
||||
|
||||
`ctags {{path/to/file}}`
|
||||
|
||||
- Generate tags for all files in the current directory, and output them to a specific file, overwriting the file if it exists:
|
||||
|
||||
`ctags -f {{filename}} *`
|
||||
|
||||
- Generate tags for all files in the current directory and all subdirectories:
|
||||
|
||||
`ctags --recurse`
|
Loading…
Add table
Reference in a new issue