Joao Marcos Costa | 33717db | 2023-10-01 12:00:35 +0200 | [diff] [blame] | 1 | Integration with IDEs |
| 2 | ===================== |
| 3 | |
| 4 | IDEs and text editors (e.g., VSCode, Emacs, Vim, Neovim) typically offer |
| 5 | plugins to enhance the development experience, such as Clangd LSP. These |
| 6 | plugins provide features like code navigation (i.e., jumping to definitions |
| 7 | and declarations), code completion, and code formatting. |
| 8 | |
| 9 | U-Boot provides a script (i.e., scripts/gen_compile_commands.py) that |
| 10 | generates a compilation database to be utilized by Clangd LSP for code |
| 11 | navigation. For detailed usage instructions, please refer to the script's |
| 12 | documentation: :doc:`../build/gen_compile_commands`. |