ctags: add json output example (#8425)

This commit is contained in:
Xiang Wang 2022-09-26 20:44:09 +08:00 committed by GitHub
parent 591dd1eb6e
commit bde43e80e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,3 +14,7 @@
- Generate tags for all files in the current directory and all subdirectories:
`ctags --recurse`
- Generate tags for a single file, and output them with start line number and end line number in JSON format:
`ctags --fields=+ne --output-format=json {{path/to/file}}`