Flash Builder 4 spaces instead of tabs?

北城以北 提交于 2019-12-10 18:18:41

问题


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

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.

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.

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


回答1:


The setting you changed:

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

won't work.

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

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



来源:https://stackoverflow.com/questions/6312864/flash-builder-4-spaces-instead-of-tabs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!