问题
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