普通編輯器tab轉換爲空格
Window -> General -> Editors -> Text Editors,將 Insert spaces for tabs 選上後保存。
Java編輯器tab轉換爲空格
Window -> Java -> Code Styel -> Formatter -> Active profile -> Edit,將 General settings 下原 Tab policy 改爲:Spaces only,重命名Profile再保存。
XML編輯器tab轉換爲空格
Window -> XML -> XML Files -> Editor,將 Indent using spaces選中,保存即可。