home.social

#codeformatter — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #codeformatter, aggregated by home.social.

  1. 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

  2. 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

  3. 🚀 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 #Google sunsets Pytype—because who needs type checking when you can just YOLO your code? 🙄
    pydevtools.com/blog/uv-format- #uvformat #Python #codeformatter #Pytype #HackerNews #ngated

  4. 🚀 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 #Google sunsets Pytype—because who needs type checking when you can just YOLO your code? 🙄
    pydevtools.com/blog/uv-format- #uvformat #Python #codeformatter #Pytype #HackerNews #ngated

  5. 🚀 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 #Google sunsets Pytype—because who needs type checking when you can just YOLO your code? 🙄
    pydevtools.com/blog/uv-format- #uvformat #Python #codeformatter #Pytype #HackerNews #ngated

  6. 🚀 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 #Google sunsets Pytype—because who needs type checking when you can just YOLO your code? 🙄
    pydevtools.com/blog/uv-format- #uvformat #Python #codeformatter #Pytype #HackerNews #ngated

  7. 🚀 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 #Google sunsets Pytype—because who needs type checking when you can just YOLO your code? 🙄
    pydevtools.com/blog/uv-format- #uvformat #Python #codeformatter #Pytype #HackerNews #ngated