简体   繁体   English

如何在Eclipse / CounterClockWise中重新格式化/重新生成Clojure代码?

[英]How to reformat/reindent Clojure code in Eclipse/CounterClockWise?

When I copy a piece of clojure code into Eclipse, how could I fix the format problem? 当我将一部分clojure代码复制到Eclipse中时,如何解决格式问题? In some text editors, there's reindent/format command or shortcut, is there a way to handle code formating in Eclipse? 在某些文本编辑器中,有reindent / format命令或快捷方式,是否有办法在Eclipse中处理代码格式?

Ctrl + A , then Ctrl + I Ctrl + A ,然后按Ctrl + I

Ctrl + A for Select all, Ctrl + I for indent the current line . Ctrl + A用于全选, Ctrl + I用于缩进当前行

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM