代碼風格項設置,選擇 HTML ,在 Other 這一欄的 Do not indent children of: 這一項設置中添加 script 標籤便可。spa
Do not indent children of:
若是要設置分號、逗號相關問題,在代碼風格選擇 JavaScript code