Skip to content

Commit

Permalink
Add compile_commands.json file to .gitignore.
Browse files Browse the repository at this point in the history
The file is used to describe project compilation independent
of build system in use.

It can also help LSP servers to improve code suggestions since
it can see how the project is configured and respect, for example,
content of config.h file.
  • Loading branch information
oniko committed Feb 4, 2025
1 parent e257def commit a321068
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ABOUT-NLS
aclocal.m4
autom4te.cache/
compile
compile_commands.json
config.guess
config.h
config.h.in
Expand Down

0 comments on commit a321068

Please sign in to comment.