microsoft / microsoft/vscode-cpptools

Use compile_commands.json to compile active file for embedded cross compilers

Open
#3,255 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request Feature: Compile Commands Language Service tasks/build/debug
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

When using cross compilers for embedded microcontrollers, it would be convenient to just compile the active file being worked on. compile_commands.json has the necessary info including all of the compiler options.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating how the extension currently handles compile_commands.json and how it compiles the active file for embedded cross compilers. Define the expected behavior for selecting compiler options from the compilation database and identify how completion can be verified for a representative microcontroller workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, json
Domain
embedded-iot, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.