Repolode
JetBrains

JetBrains/intellij-community

JetBrains IDE 的开源代码库,是构建 IntelliJ IDEA 与 IntelliJ Platform 的基础。

Star
20,650
Fork
6,100
未关闭 Issue
156
最近提交
5小时前

这是什么?

该仓库是 JetBrains IDE 代码库中开源的部分,是 IntelliJ Platform 开发以及从源码构建 IntelliJ IDEA 和 PyCharm 的基础。

项目使用 Bazel 构建,通过 IntelliJ IDEA 打开 .bazelproject 文件即可导入,需要安装 Bazel 插件。可以使用随附脚本从命令行构建,也可以为当前操作系统或基于 Docker 的环境生成安装包。

测试可通过 tests.cmd 脚本在 IDE 之外运行,支持按运行配置或测试名称过滤,便于接入 CI/CD 流程。Android 相关模块需通过 getPlugins 脚本单独获取。

核心功能

  • 01使用 Bazel 从源码构建 IntelliJ IDEA 和 IntelliJ Platform
  • 02通过 .bazelproject 文件在 IntelliJ IDEA 中打开
  • 03可为当前或指定操作系统生成安装包
  • 04支持在命令行运行测试,适用于 CI/CD 环境
  • 05提供基于 Docker 的构建环境

适用场景

  • 从源码构建 IntelliJ IDEA 或 PyCharm 以验证改动
  • 基于 IntelliJ Platform 源码开发插件
  • 向 JetBrains 开源 IDE 代码库贡献补丁
  • 在持续集成流水线中运行 IDE 测试套件

快速上手

  1. 1

    克隆仓库

    git clone https://github.com/JetBrains/intellij-community.git
  2. 2

    进入项目目录

    cd intellij-community
  3. 3

    获取 Android 模块(Unix)

    ./getPlugins.sh
  4. 4

    从命令行构建并运行 IntelliJ IDEA

    ./bazel.cmd run //build:idea_community

使用前须知

  • 构建系统正在迁移到 Bazel,可能存在粗糙之处和部分测试无法运行的情况。
  • 在 IDE 中开发需要安装 Bazel 插件以及 IntelliJ IDEA 2026.1 或更新版本。
  • 构建需要克隆单独的 Android 仓库,且其分支必须与本仓库保持一致。
  • 元数据中许可证显示为 NOASSERTION,授权条款不明确。

标签

常见问题

intellij-community 是什么?
JetBrains IDE 的开源代码库,是构建 IntelliJ IDEA 与 IntelliJ Platform 的基础。 该仓库是 JetBrains IDE 代码库中开源的部分,是 IntelliJ Platform 开发以及从源码构建 IntelliJ IDEA 和 PyCharm 的基础。
intellij-community 可以免费使用吗?用的什么许可证?
intellij-community 以 Other 许可证开源。用于商业产品前,请先确认许可证条款。
intellij-community 还在维护吗?
活跃维护中。intellij-community 最近一次提交是在 2026年10月22日。
intellij-community 适合用来做什么?
从源码构建 IntelliJ IDEA 或 PyCharm 以验证改动 基于 IntelliJ Platform 源码开发插件 向 JetBrains 开源 IDE 代码库贡献补丁 在持续集成流水线中运行 IDE 测试套件
intellij-community 怎么安装和运行?
克隆仓库: git clone https://github.com/JetBrains/intellij-community.git 进入项目目录: cd intellij-community 获取 Android 模块(Unix): ./getPlugins.sh 从命令行构建并运行 IntelliJ IDEA: ./bazel.cmd run //build:idea_community
在哪里获取 intellij-community?
源代码和安装说明在 GitHub 上:https://github.com/JetBrains/intellij-community

概要由 AI 根据项目 README 生成;GitHub 数据每日更新。

相关项目