讓sublime text顯示空格,到底是點還是橫槓TabError: inconsistent use of tabs and spaces in indentation

報錯情況:TabError: inconsistent use of tabs and spaces in indentation     分析,因爲前面點部分從網上覆制的,後面橫槓是自己寫的,這種混合寫法會報錯。   方案 在sublime text中Preferences->Settings-User中添加以下代碼: , "draw_white_space": "all"   添加後的效果:
相關文章
相關標籤/搜索