microsoft / microsoft/vscode-cpptools
Use compile_commands.json to compile active file for embedded cross compilers
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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