{"id":13450861,"url":"https://github.com/stackb/bazel-stack-vscode-cc","last_synced_at":"2026-01-19T09:35:04.908Z","repository":{"id":47040860,"uuid":"301879648","full_name":"stackb/bazel-stack-vscode-cc","owner":"stackb","description":"C/C++ Support For Bazel Stack VSCode Extension","archived":false,"fork":false,"pushed_at":"2022-12-29T14:56:28.000Z","size":80,"stargazers_count":31,"open_issues_count":5,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T18:40:29.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-06T23:33:59.000Z","updated_at":"2025-01-16T23:04:58.000Z","dependencies_parsed_at":"2023-01-31T09:16:14.265Z","dependency_job_id":null,"html_url":"https://github.com/stackb/bazel-stack-vscode-cc","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/stackb/bazel-stack-vscode-cc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-stack-vscode-cc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-stack-vscode-cc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-stack-vscode-cc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-stack-vscode-cc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackb","download_url":"https://codeload.github.com/stackb/bazel-stack-vscode-cc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackb%2Fbazel-stack-vscode-cc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28565001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T07:00:39.465Z","updated_at":"2026-01-19T09:35:04.893Z","avatar_url":"https://github.com/stackb.png","language":"Starlark","readme":"# bazel-stack-vscode-cc \n\nAdditional support for [rules_cc](https://github.com/bazelbuild/rules_cc) in\nconjunction with [bazel-stack-vscode](https://marketplace.visualstudio.com/items?itemName=StackBuild.bazel-stack-vscode)\n\n## Features\n\n### Clang Compilation Database\n\nThis extension provides a command `Bazel/C++: Generate Compilation Database`\n(`bsv.cc.compdb.generate`) that produces a file\n`${workspaceDirectory}/compile_commmands.json` that assists with Intellisense\nfor Bazel/C++ repositories.\n\nTo setup, edit your workspace settings (search for `bsv.cc.compdb.targets`) and\nconfigure a list of bazel labels for the `cc_binary` or `cc_library` targets\nyou'd like to be indexed.  The tool will then produce a command set for the\ntransitive closure of those top-level targets.\n\nTo configure the bazel executable and/or additional bazel build arguments, use\nthe `bsv.bazel.executable` and `bsv.bazel.buildFlags` settings (provided by\n[bazel-stack-vscode](https://marketplace.visualstudio.com/items?itemName=StackBuild.bazel-stack-vscode)).\n\nThese can be added to your `.vscode/settings.json` and checked-in to VCS as\nfollows:\n\n```json\n{\n    ...\n    \"bsv.bazel.buildFlags\": [\n        \"--config=custom\",\n    ],\n    \"bsv.cc.compdb.targets\": [\n        \"//app/foo:foo_binary\",\n        \"//app/bar:bar_binary\",\n        \"//app/baz:baz_binary\",\n    ]\n}\n```\n\nWorks best in conjuction with\n\u003chttps://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd\u003e.\n\nThis feature was derived from \u003chttps://github.com/grailbio/bazel-compilation-database\u003e.\n","funding_links":[],"categories":["Tooling"],"sub_categories":["Editors"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackb%2Fbazel-stack-vscode-cc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackb%2Fbazel-stack-vscode-cc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackb%2Fbazel-stack-vscode-cc/lists"}