Skip to content

Visual Studio Code configuration incorporates ceedling includes#42

Merged
evolentini merged 1 commit into
labmicro:mainfrom
fmirandabonomi:work-2026_06_12
Jun 15, 2026
Merged

Visual Studio Code configuration incorporates ceedling includes#42
evolentini merged 1 commit into
labmicro:mainfrom
fmirandabonomi:work-2026_06_12

Conversation

@fmirandabonomi

Copy link
Copy Markdown
Contributor

Now make vscode looks for
$(BUILD_DIR)/artifacts/compile_commands.json and, if present, adds a compileCommands entry to c_cpp_properties.json for that file.

To make use of this, you should add compile_commands_json_db under :plugins::enabled:, ensure that ceedling's build path matches muju's and run ceedling before running make vscode (or re-run the later if needed)

Now Visual Studio Code will find unity.h

Now `make vscode` looks for
`$(BUILD_DIR)/artifacts/compile_commands.json` and, if present,
adds a compileCommands entry to c_cpp_properties.json for that
file.

To make use of this, you should add compile_commands_json_db under
:plugins::enabled:, ensure that ceedling's build path matches muju's
and run `ceedling` *before* running `make vscode` (or re-run the later
if needed)

Now Visual Studio Code will find unity.h
@evolentini evolentini merged commit 5512810 into labmicro:main Jun 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants