Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Typescript Eslint | 13,127 | 64,399 | 76,503 | 15 hours ago | 1,852 | September 23, 2022 | 383 | other | TypeScript | |
:sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript | ||||||||||
Google Java Format | 4,897 | 77 | 91 | 2 days ago | 17 | March 07, 2022 | 105 | other | Java | |
Reformats Java source code to comply with Google Java Style. | ||||||||||
Unified | 3,711 | 56,240 | 1,260 | 14 days ago | 51 | March 08, 2022 | 3 | mit | JavaScript | |
☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees | ||||||||||
Dokka | 2,876 | 4 | 15 hours ago | 13 | June 19, 2022 | 357 | apache-2.0 | Kotlin | ||
API documentation engine for Kotlin | ||||||||||
Clangformat Xcode | 2,790 | 2 years ago | September 26, 2022 | 32 | mit | Objective-C | ||||
Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang | ||||||||||
Steal | 1,359 | 699 | 389 | 10 months ago | 328 | June 09, 2022 | 84 | mit | JavaScript | |
Gets JavaScript | ||||||||||
Minecraftdev | 1,153 | 2 days ago | 204 | mit | Kotlin | |||||
Plugin for IntelliJ IDEA that gives special support for Minecraft modding projects. | ||||||||||
Moment Duration Format | 842 | 1,980 | 373 | 3 years ago | 15 | June 05, 2019 | 30 | mit | JavaScript | |
Format function plugin for the Moment Duration object. | ||||||||||
Prettier Standard | 819 | 933 | 1,239 | 2 years ago | 65 | July 08, 2020 | 16 | mit | JavaScript | |
Formats with Prettier and lints with ESLint+Standard! (✿◠‿◠) | ||||||||||
Koop | 561 | 3 days ago | 27 | other | JavaScript | |||||
:crystal_ball: Transform, query, and download geospatial data on the web. |
The Gradle Format plugin enables you to format your Java sources. It operates in place and can be used for instance before pushing changes to enforce a coding style. The formatting can be customized using a properties or XML file with the keys defined in DefaultCodeFormatterConstants from Eclipse. See src/test/resources/ for examples. Eventually you should be able to export Eclipse settings to this file.
The plugin also enables you to sort imports.
To use the Format plugin, include in your build script:
apply plugin: 'com.github.youribonnaffe.gradle.format'
Note that the Java plugin will be applied too.
To run it:
gradle format
The plugin JAR needs to be accessible in the classpath of your build script. It is directly available on Gradle plugins. Alternatively, you can download it from GitHub and deploy it to your local repository. The following code snippet shows an example on how to get it and use it:
plugins {
id "com.github.youribonnaffe.gradle.format" version "1.5"
}
The Format plugin defines the following tasks:
format
: Format Java source codeThe Format task defines the following properties:
configurationFile
: The formatter configuration (File)importsOrder
: The import orders (List of strings)importsOrderConfigurationFile
: The import orders (a file using Eclipse format)files
: The files to format (FileCollection), defaults are Java sources from main and test SourceSetsformat {
configurationFile = file('myformatsettings.properties')
importsOrder = ["java", "javax", "org", "\\#com.something.StaticImport"]
files = sourceSets.main.java
}
Using Hibernate Tools JavaFormatter
Import ordering from EclipseCodeFormatter
Readme format from bmuschko/gradle-gae-plugin