You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugin-gradle/CHANGES.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
4
4
5
5
## [Unreleased]
6
+
### Added
7
+
* Add `batchSize` to `<idea>` formatter which determines the number of files to format in a single IDEA invocation (default=100) ([#2662](https://github.com/diffplug/spotless/pull/2662))
Copy file name to clipboardExpand all lines: plugin-gradle/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1657,6 +1657,9 @@ spotless {
1657
1657
1658
1658
// if idea is not on your path, you must specify the path to the executable
1659
1659
idea().binaryPath('/path/to/idea')
1660
+
1661
+
// to set the number of files per IDEA involcation (default: 100)
1662
+
idea().batchSize(100)
1660
1663
}
1661
1664
}
1662
1665
```
@@ -1666,7 +1669,6 @@ See [here](../INTELLIJ_IDEA_SCREENSHOTS.md) for an explanation on how to extract
1666
1669
1667
1670
### Limitations
1668
1671
- Currently, only IntelliJ IDEA is supported - none of the other jetbrains IDE. Consider opening a PR if you want to change this.
1669
-
- Launching IntelliJ IDEA from the command line is pretty expensive and as of now, we do this for each file. If you want to change this, consider opening a PR.
Copy file name to clipboardExpand all lines: plugin-maven/CHANGES.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
4
4
5
5
## [Unreleased]
6
+
### Added
7
+
* Add `batchSize` to `<idea>` formatter which determines the number of files to format in a single IDEA invocation (default=100) ([#2662](https://github.com/diffplug/spotless/pull/2662))
Copy file name to clipboardExpand all lines: plugin-maven/README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1733,6 +1733,8 @@ Spotless provides access to IntelliJ IDEA's command line formatter.
1733
1733
<withDefaults>false</withDefaults>
1734
1734
<!-- if idea is not on your path, you must specify the path to the executable -->
1735
1735
<binaryPath>/path/to/idea</binaryPath>
1736
+
<!-- the number of files to format in one idea invocation (default: 100) -->
1737
+
<batchSize>100</batchSize>
1736
1738
</idea>
1737
1739
</format>
1738
1740
</formats>
@@ -1744,7 +1746,6 @@ See [here](../INTELLIJ_IDEA_SCREENSHOTS.md) for an explanation on how to extract
1744
1746
1745
1747
### Limitations
1746
1748
- Currently, only IntelliJ IDEA is supported - none of the other jetbrains IDE. Consider opening a PR if you want to change this.
1747
-
- Launching IntelliJ IDEA from the command line is pretty expensive and as of now, we do this for each file. If you want to change this, consider opening a PR.
0 commit comments