Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Spotless | 3,336 | 7 | 11 | a day ago | 124 | September 14, 2022 | 141 | apache-2.0 | Java | |
Keep your code spotless | ||||||||||
Apicurio Studio | 838 | 1 | 2 days ago | 1 | October 04, 2018 | 320 | apache-2.0 | TypeScript | ||
Open Source API Design | ||||||||||
Apiman | 738 | 14 | 7 | a day ago | 70 | April 21, 2022 | 219 | apache-2.0 | Java | |
Extensible and flexible API Management. Add your own functionality with simple Java plugins. | ||||||||||
Meghanada Emacs | 598 | a year ago | 23 | gpl-3.0 | Emacs Lisp | |||||
A Better Java Development Environment for Emacs | ||||||||||
Eclipsecodeformatter | 410 | a year ago | 19 | apache-2.0 | Java | |||||
IntelliJ plugin - use Eclipse's code formatter directly from IntelliJ. https://plugins.jetbrains.com/plugin/6546 | ||||||||||
Formatter Maven Plugin | 241 | 3 | 14 days ago | 29 | November 04, 2022 | 23 | apache-2.0 | Java | ||
Formatter Maven Plugin | ||||||||||
Ftblaunch | 187 | a year ago | 17 | Java | ||||||
Launcher for the FTB Mod Pack | ||||||||||
Mobile Android | 122 | 2 years ago | 50 | apache-2.0 | HTML | |||||
Trovebox mobile application for Android | ||||||||||
Example Mod | 103 | 3 years ago | 1 | lgpl-3.0 | Java | |||||
An example mod created to try and get new modders to use good code practices | ||||||||||
Cppstyle | 60 | a year ago | 18 | mit | Java | |||||
An Eclipse plugin that integrates clang-format and cpplint (cpplint.py) |
Allows using Eclipse's Java code formatter directly from IntelliJ. Solves the problem of maintaining a common code style in team environments where both IDEA and Eclipse are used.
Note: This project utilizes (and in some manners modifies) code licensed under EPL-2.0. For more information see lib/eclipse.
Manage pull requests and conduct code reviews in your IDE with full source-tree context. Comment on any line, not just the diffs. Use jump-to-definition, your favorite keybindings, and code intelligence with more of your workflow.
Learn More
Eclipse installation folder
(/Users/xxx/Eclipse.app/Contents/Eclipse
for Mac)Java formatter version
to Configured Eclipse installation folder
Either, export formatter profiles to get a *.xml
file
Eclipse | Windows | Preferences | Java | Code Style | Formatter
New
buttonExport all...
button
Or, enable project specific formatter settings to get org.eclipse.jdt.core.prefs
right-click
the project and choose PropertiesJava Code Style | Formatter
and select Enable project specific settings
OK
to save the settings.settings
directory inside your project's directory. There you will find
the org.eclipse.jdt.core.prefs
file which contains the Eclipse formatter settings
Or, export a Workspace Mechanic configuration to
get a *.epf
file
Open a project in IntelliJ
Set path to the config file
via IntelliJ | Settings | Other Settings | Adapter for Eclipse Code Formatter | Eclipse preference file
When using exported profiles (the xml file), select desired profile in the combobox Java formatter profile
Optimizing Imports
configuration
Eclipse | Windows | Preferences | Java | Code Style | Organize Imports
Export...
, (example)org.eclipse.jdt.ui.prefs
file which should contain
the line org.eclipse.jdt.ui.importorder=...
Class count to use import with
and Name count to use static import with
in Settings | Editor | Code Style | Java | Imports
for Idea 14 or Settings | Editor | Code Style | Imports
for older Idea. Eclipse uses 99 by defaultImport Optimizing
in the reformat dialog
via Settings | Editor | Show "Reformat Code" dialog
. The plugin will take care of imports anywayOptimize imports on the fly
Settings | Notifications
Ctrl + Alt + O
as usual, it will use this pluginCtrl + ~
for quick switch between formatters or icon at the main toolbar@formatter:off
is not working
See: https://github.com/krasa/EclipseCodeFormatter/issues/64
Main Menu | File | Project Structure
Strip trailing spaces on save
to None
Settings | Editor | Code Style | Java
than in Eclipse. Using of either tab only or space only whitespace is recommended.If it is mysteriously not working, go to Main Menu | Help | Edit Debug Settings
and add:
krasa.formatter
Try to reformat something and create a new issue, including the log
YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.