... | ... | @@ -32,7 +32,7 @@ The project C/C++ configuration is stored at `.vscode/c_cpp_properties.json`. Th |
|
|
### Automatic creation
|
|
|
If `compile_commands.json` is already created. Open any hpp/cpp file, after some seconds VSCode will ask if you want to use the `compile_commands.json` file. Accept by pressing yes. This will create a `.vscode/c_cpp_properties.json` file that has the configuration to the `compile_commands.json` file, if the file is already created, it'll just add `"compileCommands": "${workspaceFolder}/build/compile_commands.json"` in the configuration list.
|
|
|
|
|
|

|
|
|

|
|
|
|
|
|
### Manual creation
|
|
|
If `compile_commands.json` is not generated, or the pop-up does not appear. Call the command palette <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> and search for `C/C++: Edit Configurations (JSON)` to generate the file
|
... | ... | |