spotless
Sourcetrail
spotless | Sourcetrail | |
---|---|---|
10 | 46 | |
4,175 | 12,302 | |
1.4% | - | |
9.7 | 7.0 | |
9 days ago | over 2 years ago | |
Java | C++ | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
spotless
- FLiPN-FLaNK Stack for March 6, 2023
-
Programming Breakthroughs We Need
Some code formatters such as Spotless (https://github.com/diffplug/spotless/tree/main/plugin-gradle...) allow you to format code only in files that have changes against some designated branch such as `master`. So, you check out your feature branch, make changes, do some commits, and run spotless. Only the files which have some changes between your workspace and the master branch will be formatted. This allows you to gradually format the project as and when files would be changed anyways.
- What supporting tools (linting, style/formatting, etc) are you using nowadays?
-
How does Apache ShardingSphere standardize and format code? We use Spotless
As a Top-Level Apache open source project, ShardingSphere has 400 contributors as of today. Since most developers do not have the same coding style, it is not easy to standardize the project’s overall code format in a GitHub open collaboration model. To solve this issue, ShardingSphere uses Spotless to unify code formatting.
-
Use semantic indenting
But please just use an code formatter like spotless. Or better yet set it as a pre commit hook. You will thank yourself later, and so will all of your coworkers.
-
Zero Config Code Formatter?
I use Spotless but it’s not as opiniotated as Prettier or Black
-
The obligatory braces and if/else questions
I use Spotless and it works quite well, but there are many other options. Also good IDEs can reformat your code.
- Java Cheatsheet to refresh the basic concepts of Java
- Is there any actively maintained Java library to format code?
-
diKTat 0.4.0 is released - kotlin linter and static analyzer
We are working on different ways to run diktat, however. For example, the integration into spotless is on its way. In the future we might consider adding support for Intellij, and if someone decides to contribute it - it will be very welcome as well.
Sourcetrail
-
Ask HN: Anyone use a code to mindmap/flowchart tool?
I wish something existed in this space. I used Coati Software's Sourcetrail for a couple of years. Unfortunately it was discontinued. It was a wonderful piece of software that indexed a code repository, and exposed an interface to explore it interactively. At least for me, it significantly improved the understanding and legibility of code.
The code is in an archived state (https://github.com/CoatiSoftware/Sourcetrail). Searching for the software on Google shows some screenshots.
-
Ask HN: What would an IDE built for the Apple Vision Pro look like?
I think it might make large scale code visualization in a similar way to how SourceTrail does it more feasible: https://github.com/CoatiSoftware/Sourcetrail
-
How to quickly learn/understand the system architecture of any given application?
Sourcetrail: Free and open-source cross-platform source explorer https://github.com/CoatiSoftware/Sourcetrail
-
Tools/software for visualizing code structure/dependencies of large C project.
Yep souecetrail https://github.com/CoatiSoftware/Sourcetrail
-
Tools to understand a new code base
I've used https://github.com/CoatiSoftware/Sourcetrail in the past for some bits of the legacy code project I'm on. I also use vim and cscope for day to day navigation but it's harder to get a big picture with those alone.
- Is there a site or extension where to learn C++ by doing, learning more visually?
- “Zoom Out”: The missing feature of IDEs
-
Tools for Building Symbol Tables from A Source Code File
Sourcetrail?
-
A Byfrost Indexer Update-A Graphing Demo
Does it strive to do what Sourcetrail used to ?
-
How to understand a c++ project
You could always try using Sourcetrail. Unfortunately the open source project is now archived but it should still help you get insights into your code.
What are some alternatives?
Checkstyle - Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
Spotbugs - SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.
google-java-format - Reformats Java source code to comply with Google Java Style.
PMD - An extensible multilanguage static code analyzer.
prettier-java - Prettier Java Plugin
palantir-java-format - A modern, lambda-friendly, 120 character Java formatter.
infer - A static analyzer for Java, C, C++, and Objective-C
prettier - Prettier is an opinionated code formatter.
Gource - software version control visualization
git-code-format-maven-plugin - A maven plugin that automatically deploys code formatters as pre-commit git hook
FindBugs - The new home of the FindBugs project