#codeFormatter

2025-10-24

Eclipse Fun:

1. Language server jdtls code formatting: needs XML file exported from eclipse.
2. Command line JavaCodeFormatter (help.eclipse.org/latest/index.) wants a properties file for -config

I used

xq <eclipse-formatter.xml | jq -Mr '.profiles.profile.setting[] | ."@id" + "=" + ."@value"' >config.props

and all worked but the indent with spaces. It used tabs. Reason:

- XML export uses value="SPACE"
- the property file needs ...=space

🤦‍♀️

#java #eclipsejdtls #codeFormatter #languageServer

N-gated Hacker Newsngate
2025-08-21

🚀 Behold! A groundbreaking revelation: "uv format" is here to make your code look pretty, but only if you're brave enough to experiment with it. Because, clearly, Python's real problem was the lack of a hipster code formatter. 🎉 Plus, a riveting tale of how sunsets Pytype—because who needs type checking when you can just YOLO your code? 🙄
pydevtools.com/blog/uv-format-

pablolarahpablolarah
2024-04-19
Green text on pink background:
 How to write a code formatter

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst