Version: 5.6.0
- Requires IntelliJ build 241.* or older
Code changes: e2ccb342e391393c883476571dacad20f7fb82c5
Edits:
- Default space after comma
- Default space around assignment operator
- Edited this style so that it's space after not 'around'
- E.g.
myTable: select from data
notmyTable : select from data
Steps:
- Clone forked repo and checkout 5.6.0 branch
- Open project in IntelliJ
- Set project SDK to JDK 17
- Make sure to download directly from Oracle
- Set Gradle JVM to JDK 17
Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM
- From the Gradle tool window run
KdbInsideBrains > Tasks > build > build
- Find packaged JAR at
build\libs\KdbInsideBrains-5.6.0.jar
- Extract the following files:
org\kdb\inside\brains\lang\formatting\QCodeStyleSettings.class
org\kdb\inside\brains\lang\formatting\QSpacingStrategy.class
- Download IntelliJ plugin zip 5.6.0 from JetBrains
- All plugin versions
- Alternatively you can also use the plugin zip locally built by Gradle for testing purposes:
build\distributions\KdbInsideBrains-5.6.0.zip
- Patch JAR file contained in plugin zip with above class files
Version: 1.13.0
Code changes: 123f00950f6aca3fdc96eb0f21c9553f21101706
Edits:
- Change max line length from 100 to 120
- Fix comment wrapping
Steps:
- Clone forked repo and checkout 1.13.0 branch
- Open project in IntelliJ
- Set project SDK to JDK 11
- Make sure to download directly from Oracle
- From the Maven tool window run
Google Java Format Parent > Lifecycle > package
- Find packaged JAR at
core\target\google-java-format-1.13.0.jar
- Extract the following files:
com\google\googlejavaformat\java\Formatter.class
com\google\googlejavaformat\java\JavaCommentsHelper.class
com\google\googlejavaformat\java\javadoc\JavadocFormatter.class
- Download IntelliJ plugin zip 1.13.0 from JetBrains
- Patch JAR file contained in plugin zip with above class files