[Oxfmt 베타 출시
Oxfmt는 Rust 기반의 고성능 코드 포매터로, Prettier 대비 30배 이상, Biome 대비 3배 빠른 속도를 자랑합니다. 다양한 파일 포맷을 지원하며, 이미 여러 오픈소스 프로젝트에서 채택되었습니다. VS Code, Cursor, Zed, IntelliJ IDEA, Neovim 등 다양한 에디터와 호환되며, 향후 Prettier 플러그인 지원, 포맷 개선, 안정성 강화 등을 계획하고 있습니다.
[Oxfmt 베타 출시
Oxfmt는 Rust 기반의 고성능 코드 포매터로, Prettier 대비 30배 이상, Biome 대비 3배 빠른 속도를 자랑합니다. 다양한 파일 포맷을 지원하며, 이미 여러 오픈소스 프로젝트에서 채택되었습니다. VS Code, Cursor, Zed, IntelliJ IDEA, Neovim 등 다양한 에디터와 호환되며, 향후 Prettier 플러그인 지원, 포맷 개선, 안정성 강화 등을 계획하고 있습니다.
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 -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
🤦♀️
The latest uv release (0.8.13) quietly introduced an experimental new command that Python developers have been waiting for: uv format. This addition brings code formatting directly into uv’s toolkit, eliminating the need to juggle multiple tools for basic Python development workflows. What is uv format? The uv format command provides Python code formatting through uv’s interface. Under the hood, it calls Ruff’s formatter to automatically style your code according to consistent standards.
🟢🔴 How to write a code formatter
by Yorick Peterse
#YorickPeterse #CodeFormatter #Coding
https://yorickpeterse.com/articles/how-to-write-a-code-formatter/