#codeformatter — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #codeformatter, aggregated by home.social.
-
Eclipse Fun:
1. Language server jdtls code formatting: needs XML file exported from eclipse.
2. Command line JavaCodeFormatter (https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftasks-231.htm) wants a properties file for -configI 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🤦♀️