You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I already opened issue #2916 and PR #2917 for this idea:
I'd like to have a layout step that formates and also sorts TOML files.
proper spacing around special characters
E.g. kotlin-jvm={id="org.jetbrains.kotlin.jvm",version="2.3.21"} → kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version = "2.3.21" } or assertj="3.27.7" → assertj = "3.27.7"
line breaks for long definitions
sort standard version catalog tables:
[versions]
[libraries]
[bundles]
[plugins]
sort table entries alphabetically simply by line, hence the chose alias will determine the order
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I already opened issue #2916 and PR #2917 for this idea:
I'd like to have a layout step that formates and also sorts TOML files.
E.g.
kotlin-jvm={id="org.jetbrains.kotlin.jvm",version="2.3.21"}→kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version = "2.3.21" }orassertj="3.27.7"→assertj = "3.27.7"[versions][libraries][bundles][plugins]Example
Unformatted:
Formatted:
Beta Was this translation helpful? Give feedback.
All reactions