{"id":13657645,"url":"https://github.com/bazelbuild/intellij","last_synced_at":"2026-02-26T14:01:31.812Z","repository":{"id":37493436,"uuid":"62894057","full_name":"bazelbuild/intellij","owner":"bazelbuild","description":"CLion / IntelliJ plugin for Bazel projects","archived":false,"fork":false,"pushed_at":"2026-02-20T18:08:06.000Z","size":180707,"stargazers_count":809,"open_issues_count":223,"forks_count":341,"subscribers_count":38,"default_branch":"master","last_synced_at":"2026-02-21T05:29:38.760Z","etag":null,"topics":["bazel","build-tool","cpp","ide","intellij","intellij-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/bazelbuild/intellij/blob/master/docs/index.md","language":"Java","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/bazelbuild.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-07-08T14:19:29.000Z","updated_at":"2026-02-20T18:08:10.000Z","dependencies_parsed_at":"2023-10-14T16:44:23.168Z","dependency_job_id":"383691f9-5cc1-41be-8267-c5015236c2fd","html_url":"https://github.com/bazelbuild/intellij","commit_stats":{"total_commits":4752,"total_committers":131,"mean_commits":"36.274809160305345","dds":0.42003367003367,"last_synced_commit":"d407faba3e52e32a929aa9581f4412f474b01a96"},"previous_names":[],"tags_count":341,"template":false,"template_full_name":null,"purl":"pkg:github/bazelbuild/intellij","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fintellij","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fintellij/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fintellij/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fintellij/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bazelbuild","download_url":"https://codeload.github.com/bazelbuild/intellij/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelbuild%2Fintellij/sbom","scorecard":{"id":227589,"data":{"date":"2025-08-11","repo":{"name":"github.com/bazelbuild/intellij","commit":"e7998bc240e5bc99d05b9c3892436e1d7b555897"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.7,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 19 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":7,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/issue-assignee.yml:10","Info: jobLevel 'contents' permission set to 'read': .github/workflows/issue-assignee.yml:19","Info: jobLevel 'contents' permission set to 'read': .github/workflows/issue-labeler.yml:12","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pr-label-and-assignee.yml:9","Info: jobLevel 'contents' permission set to 'read': .github/workflows/pr-label-and-assignee.yml:19","Warn: jobLevel 'actions' permission set to 'write': .github/workflows/release.yml:15","Info: jobLevel 'contents' permission set to 'read': .github/workflows/release.yml:14","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:56","Info: jobLevel 'actions' permission set to 'read': .github/workflows/release.yml:57","Info: found token with 'none' permissions: .github/workflows/release.yml:88","Info: jobLevel 'actions' permission set to 'read': .github/workflows/release.yml:89","Info: jobLevel 'contents' permission set to 'read': .github/workflows/remove-labels.yml:10","Warn: no topLevel permission defined: .github/workflows/issue-assignee.yml:1","Warn: no topLevel permission defined: .github/workflows/issue-labeler.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-label-and-assignee.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/remove-labels.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2025.08.04 not signed: https://api.github.com/repos/bazelbuild/intellij/releases/237339559","Warn: release artifact 2025.08.04 does not have provenance: https://api.github.com/repos/bazelbuild/intellij/releases/237339559"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue-assignee.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/issue-assignee.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue-assignee.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/issue-assignee.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue-assignee.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/issue-assignee.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/issue-labeler.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/issue-labeler.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-label-and-assignee.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/pr-label-and-assignee.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-label-and-assignee.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/pr-label-and-assignee.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr-label-and-assignee.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/pr-label-and-assignee.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:97: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/remove-labels.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/remove-labels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/bazelbuild/intellij/stale.yml/master?enable=pin","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/bazelbuild/.github/SECURITY.md:1","Info: Found linked content: github.com/bazelbuild/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/bazelbuild/.github/SECURITY.md:1","Info: Found text in security policy: github.com/bazelbuild/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 2 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T04:07:20.310Z","repository_id":37493436,"created_at":"2025-08-17T04:07:20.310Z","updated_at":"2025-08-17T04:07:20.310Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29861805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: 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":["bazel","build-tool","cpp","ide","intellij","intellij-plugin"],"created_at":"2024-08-02T05:00:47.419Z","updated_at":"2026-02-26T14:01:31.805Z","avatar_url":"https://github.com/bazelbuild.png","language":"Java","readme":"# A CLion plugin for [Bazel](http://bazel.build) projects\n\nAs of July 1, 2025, the Bazel for IntelliJ and Bazel for CLion plugins are maintained by JetBrains. These plugins are not offered by nor affiliated with Google. The Bazel trademark and logo are the property of Google LLC.\n\nThis project uses binary bundles licensed under [JetBrains User Agreement](https://www.jetbrains.com/legal/docs/toolbox/user/).\n\nThe Bazel for CLion plugin is uploaded to the [JetBrains Marketplace](https://jb.gg/bazel-for-clion) regularly from the state of this repository. See the [releases](https://github.com/bazelbuild/intellij/releases) tab for more information.\n\n## Community\nThe Bazel project is hosting a Special Interest Group (SIG) for Bazel IntelliJ IDE plug-in. Details about the SIG and \nhow to join the discussion can be found in the [SIG charter](https://github.com/bazelbuild/community/blob/main/sigs/bazel-intellij/CHARTER.md).\n\n## Support\nSee the [documentation entry](https://github.com/bazelbuild/intellij/blob/master/docs/index.md)\non the plugin support across JetBrains products, languages, and operating\nsystems.\n\n## Source Code Locations\nThe Bazel for CLion plugin is built and released from the [master branch](https://github.com/bazelbuild/intellij) of this repository. \n\nThe Bazel for IntelliJ plugin is built and released from the [ijwb branch](https://github.com/bazelbuild/intellij/tree/ijwb) of this repository. However, maintenance for the IntelliJ plugin is limited to ensuring compatibility with new versions of JetBrains IDEs. No new features or bug fixes will be provided.\n\nThe Bazel for Android Studio plugin is built and released from [AOSP](https://android.googlesource.com/platform/tools/adt/idea/+/refs/heads/mirror-goog-studio-main/aswb/). The [google branch](https://github.com/bazelbuild/intellij/tree/google) is now deprecated. The last snapshot of the Android Studio plugin that was hosted in this repository can be found on the [aswb branch](https://github.com/bazelbuild/intellij/tree/aswb).\n\nAlthough the code in this repository and in AOSP share the same structure and core components, they have diverged from each other. \n\n- Changes for the CLion plugin are *only* merged into the master branch of this repository. Users can request \n  that certain fixes which are also needed for the Android Studio plugin get merged into the AOSP project. This will \n  require the internal teams’ approval. \n- Changes made by the internal Google teams are automatically exported to AOSP. These commits were regularly \n  cherry-picked to the master branch. See the next paragraph for details.\n- The Android Studio plugin was removed from the master branch and is now only available in the AOSP. \n\n### Cherry-picks from AOSP to this project\n\nAfter the migration of the Android Studio plugin to [AOSP](https://android.googlesource.com/platform/tools/adt/idea/+/refs/heads/mirror-goog-studio-main/aswb/), this process was interrupted for approximately five months.\n\nIn November 2024, many changes from AOSP were cherry-picked in [6965](https://github.com/bazelbuild/intellij/pull/6965).\nStarting from that point, we have been making our best effort to apply AOSP changes to the [master branch](https://github.com/bazelbuild/intellij/tree/master).\n\nFor this purpose, we use the Python tool [LeFrosch/intellij-aosp-merge](https://github.com/LeFrosch/intellij-aosp-merge), which is capable of adjusting paths from AOSP to this project's layout and allows us to compare revisions in AOSP and here.\n\nStatus of picked and skipped commits could be found in the following [googledoc](https://jb.gg/aosp-picks).\n\nDue to multiple regressions caused by picks from the AOSP, cherry-picks have been halted for the time being.\n\n## Installation\n\nYou can find our plugin in the [JetBrains Marketplace](https://plugins.jetbrains.com/plugin/8609-bazel)\nor directly from the IDE by going to `Settings -\u003e Plugins -\u003e Marketplace`, and searching for `Bazel`.\n\n## Usage\nWe recommend watching [this video](https://www.youtube.com/watch?v=GV_KwWK3Qy8) to familiarize yourself with the plugin's features.\n\nTo import an existing Bazel project, choose `Import Bazel Project`,\nand follow the instructions in the project import wizard.\n\nDetailed docs are available [here](https://github.com/bazelbuild/intellij/blob/master/docs/index.md).\n\n## Known issues\n\n### Python debugging\nPlease read this comment https://github.com/bazelbuild/intellij/issues/4745#issue-1668398619\n\n### Remote Development\nTo properly set up Remote Development (https://www.jetbrains.com/remote-development/), follow these steps:\n1. Create an empty project on the remote machine (this can be just an empty directory).\n2. Import the project using Remote Development.\n3. Install the Bazel Plugin on the host machine.\n4. Close the project.\n5. Open the initially intended project.\n\n## Building the plugin\nInstall Bazel, then build the target `//clwb:clwb_bazel_zip`:\n```\nbazel build //clwb:clwb_bazel_zip --define=ij_product=clion-oss-latest-stable\n```\n\nfrom the project root. This will create a plugin zip file at `bazel-bin/clwb/clwb_bazel.zip`, which can be installed directly from the IDE. \n\nIf the IDE refuses to load the plugin because of version issues, specify the correct `ij_product`. These are in the form `clion-oss-\u003cVERSION\u003e` with `\u003cVERSION\u003e` being one of \n* `oldest-stable`\n* `latest-stable`\n* `under-dev`.\n\nAlternatively, for you can set `ij_product` to direct CLion versions, for example `clion-2025.2`.\n\n`\u003cIDE\u003e-oss-oldest-stable` and `\u003cIDE\u003e-oss-latest-stable` are aliases for the two IDE versions\nthat the plugin is officially compatible with at a given time. `\u003cIDE\u003e-oss-latest-stable` usually \nmaps to the last released IDE version while `\u003cIDE\u003e-oss-oldest-stable` maps to the one right before that, \ne.g. `\u003cIDE\u003e-oss-oldest-stable=2022.1` and `\u003cIDE\u003e-oss-latest-stable=2022.2`. Additionally, \n`\u003cIDE\u003e-oss-under-dev` represents the upcoming version of the IDE that we are working towards \nsupporting. A complete mapping of all currently defined versions can be found in \n`intellij_platform_sdk/build_defs.bzl`.\n\nYou can import the project into IntelliJ (with the Bazel plugin)\nvia importing the `ijwb/ijwb.bazelproject` file.\n\n## Compatibility with IDE Versions\n\nYou can build the plugin for different IDE versions by adjusting the `ij_product` \noption either from command line or by updating the `.bazelproject` file to specify\nthe desired value for `ij_product` under `build_flags`. \n\nWe have three aliases for product versions;\n  * `oldest-stable` is the oldest IDE version supported by the Bazel plugin released to \n  the JetBrains stable channel.\n  * `latest-stable` is the latest IDE version supported by the Bazel plugin released to\n  the JetBrains stable channel.\n  * `under-dev` is the IDE version we are currently working towards supporting.\n\nThe current corresponding IDE versions of these aliases can be found [here](./intellij_platform_sdk/build_defs.bzl#L31).\n\n## Contributions\n\nWe welcome contributions to support new IDE versions. However, to make\nthe review process faster and easier, we recommend the following:\n\n  * We can only accept small pull requests. Smaller pull requests tend to have \n    fewer review comments and hence can get submitted much faster. They also tend\n    to conflict less with our internal code base, simplifying the integration for us. \n    For example, you should have separate pull requests each focusing on a certain incompatible change\n    rather than having a large pull request fixing multiple ones.\n    \n  * Since we continue to support a number of IDE versions while working on a new\n    one, you need to make sure that your proposed changes do not break\n    older versions. Our presubmit pipeline will take care of testing your changes\n    against all the supported versions and lets you know whether it broke anything.\n    \n  * To facilitate merging your changes into upstream, we recommend following\n    our procedure for supporting SDK backward-compatibility. \n    \n    * First consider adjusting the plugin code so that it directly works with different IDE versions. \n      Example strategies for this would be:\n      \n      * Switching to a (possibly newer) IntelliJ platform API which is available in all relevant IDE versions. Example: [pr/2623](https://github.com/bazelbuild/intellij/pull/2623)\n      * Switching to a raw class by removing a generic type parameter which differs across versions. Example: [pr/2631](https://github.com/bazelbuild/intellij/pull/2631)\n    \n    * For non-trivial incompatible changes, the code for maintaining SDK compatibility lives\n      in [sdkcompat](./sdkcompat) and [testing/testcompat](./testing/testcompat) directories, where `testing/testcompat`\n      holds test-only SDK compatibility changes. Each of the two directories contains a sub-folder per supported IDE version with \n      version-specific implementations. The outside API of all classes must be the same across versions, just \n      the implementation may differ. When introducing a new file in this directory, make sure to duplicate\n      it appropriately across all versions.  \n      We follow these three techniques for non-trivial incompatible changes.\n    \n      * **Compat**  \n         Preferred to Adapter and Wrapper when applicable. We add a util-class with \n         only static methods and a private constructor and wrap the changed method by one of the \n         static methods. If the change is small enough, you do not need to create a new util-class\n         and should add the change to [BaseSdkCompat class](./sdkcompat/v222/com/google/idea/sdkcompat/general/BaseSdkCompat.java) \n         instead. Example: [pr/2345](https://github.com/bazelbuild/intellij/pull/2345)\n\n      * **Adapter**  \n         Used when we extend a super class and its constructor is updated.\n         We create a new class extending the changed super class then extend this new class\n         from the plugin code. Example: [pr/2352](https://github.com/bazelbuild/intellij/pull/2352)\n\n      * **Wrapper**  \n        Created when a new interface is used in a super class constructor. We create\n        a wrapper class that wraps and supplies the old or the new interface based on\n        the SDK version and use this wrapper class in the plugin code.\n        Example: [pr/2166](https://github.com/bazelbuild/intellij/pull/2166)\n\n  * All compat changes must be commented with `#api{API_VERSION}`, e.g. `#api203`.\n    This represents the last API version that requires the code, i.e. the one before\n    the version you aim to support. This is needed to make it easier to find and\n    clean up this functionality when paving old versions.\n    \n  * Compat classes must never import plugin code and we try to keep the logic and code in them \n    as minimal as possible.\n\n  \nWe may also be able to accept contributions to fix general issues or adding new features with some caveats:\n\n  * Before opening a pull request, first file an issue and discuss potential\n    changes with the devs. This will often save you time you would otherwise\n    have invested in a patch which can't be applied.\n  * Improvements for old not supported IDE versions will not be accepted.\n    Your changes should target the currently supported IDE versions. \n    You can find a list of these versions [here](./intellij_platform_sdk/build_defs.bzl#L31).\n  * We can't accept stylistic, refactoring, or \"cleanup\" changes.\n  * We have very limited bandwidth, and applying patches upstream is a\n    time-consuming process. Large patches generally can't be accepted unless\n    there's clear value for all our users.\n    \n","funding_links":[],"categories":["Java (78)","Java","Editor support"],"sub_categories":["Google projects"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelbuild%2Fintellij","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbazelbuild%2Fintellij","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelbuild%2Fintellij/lists"}