有没有办法让Eclipse来处理4个空格呢? [英] Is there a way to get Eclipse to treat 4 spaces exactly as it treats a tab?

查看:106
本文介绍了有没有办法让Eclipse来处理4个空格呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何让Eclipse插入空格来代替标签页,但是我宁可不必用十二个空格箭头来到达缩进的块。

I understand how to get Eclipse to insert spaces in place of tabs, but then I'd rather not have to arrow through 12 spaces to reach an indented block.

如果有办法从显示空白字符中隐藏空格,则可以获得积分。我喜欢看到标签和回车符的空格字符,但是当空格也显示时,显示屏变得太杂乱了。

Bonus points if there's a way to hide the spaces from the 'show whitespace characters'. I like to see whitespace characters for tabs and carriage returns, but the display gets too cluttered when spaces are also displayed.

推荐答案

事实证明,这似乎在Eclipse中是不可能的。

As it turns out, this appears to not be possible in Eclipse.

这篇关于有没有办法让Eclipse来处理4个空格呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆