Flash Builder 4 空格而不是制表符? [英] Flash Builder 4 spaces instead of tabs?

查看:40
本文介绍了Flash Builder 4 空格而不是制表符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将 Flash Builder 4 配置为使用空格而不是制表符来缩进?

Is it possible to configure Flash Builder 4 to indent using spaces instead of tabs?

我已启用 Preferences >一般>编辑 >文本编辑器为制表符插入空格 但它仍然插入制表符.我试过编辑没有标签的文件,但它仍然插入标签.

I've enabled Preferences > General > Editors > Text Editors > Insert spaces for tabs but it still inserts tabs. I've tried editing files with no tabs but it still inserts tabs.

奇怪的是,为制表符插入空格 在 Eclipse 中有效,但在基于 Eclipse 构建的 Flash Builder 中无效.也许 Adob​​e 的 Flash Builder 部分存在错误.

What's strange is that Insert spaces for tabs works in Eclipse but not Flash Builder, which is built on Eclipse. Perhaps there's a bug in Adobe's portion of Flash Builder.

我在 Mac OS X 10.6 上运行 Flash Builder 4.0.0.272416.

I'm running Flash Builder 4.0.0.272416 on Mac OS X 10.6.

推荐答案

您更改的设置:

首选项 > 常规 > 编辑器 > 文本编辑器 > 为制表符插入空格

Preferences > General > Editors > Text Editors > Insert spaces for tabs

不起作用.

我不确定是否有办法让它在 FB4 中工作,但在 FB4.5 中你可以:

I'm not sure if there ever was a way to get it to work in FB4, but in FB4.5 you can with:

首选项 > Flash Builder > 编辑器 > 缩进 > 使用 > 空格插入

Preferences > Flash Builder > Editors > Indentation > Insert using > spaces

这篇关于Flash Builder 4 空格而不是制表符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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