Comments (7)
Sounds good to me then! @Goooler feel free to submit a PR since from our end this is unlikely to get prioritized any time soon.
from ktfmt.
May I file a new issue and try to send a PR?
from ktfmt.
If you are feeling like it, feel free to send a PR, I'll gladly take that in 😃
from ktfmt.
Interesting proposition. Are there any tradeoffs from doing this? Would we still be able to do java -jar ktfmt-0.50-jar-with-dependencies.jar
? Might be useful in case you want to run ktfmt with a java version other than the "standard" in your machine, or if you don't have java
in your path (my_java -jar ktfmt.jar
)
from ktfmt.
Yeah, you can run it like a normal jar with java -jar
. Actually, it still depends on your local JDK, but you can execute it like binary applications like the others on Unix.
from ktfmt.
It would be easier to do this if we could migrate the core project build to Gradle, is there any plan to migrate?
from ktfmt.
No plans on our side, but I don't see a reason not to do that other than the work required for it and extensive testing to make sure nothing breaks/regresses.
It would actually be a really nice change since other parts of this project are on Gradle already.
This is just not something that is currently on the roadmap.
from ktfmt.
Related Issues (20)
- add trailing comma support to other non-google styles HOT 10
- Indentation level should be a command-line argument HOT 2
- Android Studio / IDEA plugin yields different results than running ktfmt HOT 11
- Treat trailing Elvis operator as part of a call chain HOT 2
- Adding target jar to releases HOT 2
- Weird lambda formatting when wrapping long line HOT 3
- Intellij Plugin set to Google (internal) always removes trailing commas HOT 1
- Lambdas following a statement can be treated as lambda arguments, breaking syntax HOT 1
- No artifacts were released for v0.48 and v0.49 HOT 4
- Trailing comma gets removed if there is only one parameter and it is formatted to be on its own line HOT 2
- ktfmt doesn't seem to work in IJ 2024.1.1 HOT 5
- Is ktfmt used on itself? HOT 5
- Misspelled flags in CLI can cause user data loss HOT 1
- How can I config Intellij plugin? HOT 2
- error: did not generate token "context" HOT 3
- Google style with trailing comma does not use maxWidth correctly HOT 1
- Nested function calls with named parameters is incredibly difficult to read and results in unnecessary nesting HOT 8
- ktfmt 0.51 incompatible with Spotless Gradle plugin HOT 2
- ver 1.1.0.51 update breaks ktfmt intellij plugin setting screen if style is "Dropbox" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ktfmt.