Syntax highlighting for .diff and .patch files in IntelliJ IDEA and other JetBrains IDEs.
- Download from plugins.jetbrains.com
- Download from GitHub
- or simply use IntelliJ's plugin manager and search for Diff / Patch File Support
This project was built using Java 21 and Gradle 8.12.
In order to open this project in IntelliJ IDEA, follow these steps:
- Install Java 21 JDK
- Define a project SDK named 21. If you have a Java 21 SDK already, you may choose to rename or clone it.
- Open the project and wait for IntelliJ to download the required libraries.
(This may take a long time, because several hundred MBs are downloaded.)
Now, there are two run configurations , Run in IDE and Build Plugin.
- Run in IDE allows you to launch an IntelliJ Community Edition with the plugin enabled.
The IDE version is configured inbuild.gradle
. Required files will be automatically downloaded.
You can find version numbers here: stable | snapshots. See section com.jetbrains.intellij.idea. You can use Version or Build Number. - Build Plugin will generate
build/distributions/intellij-diff-plugin-*.zip
, which you can install in your JetBrains IDE.
To find out more about plugin development, please refer to the excellent official documentation: http://www.jetbrains.org/intellij/sdk/docs/
If, for some reason, you need older versions of this plugin, see here: