made a small note on how to use the ctags program

This commit is contained in:
tomit4 2022-06-16 20:31:45 -07:00
parent 93a76c832e
commit 3cc2695007

11
how_to_use_ctags.txt Normal file
View file

@ -0,0 +1,11 @@
ctags is a great little tool that allows you to traverse large code bases to see outside files that define variables/funcitons that are imported into our C programs.
(install the ctags program)
within our project with multiple .h and .c files, invoke ctags:
ctags
Which will create a txt file called tags
This will be referenced when we need to use it in the project. From our text editor we can then invoke CTRL+} or CTRL+] to invoke ctags, which will then take us to the file and the line where that variable was first created (extremely useful!).