TabError: inconsistent use of tabs and spaces in indentation
是初学者使用subline3常出现的错误,其实这个并非是用户书写错误引起的,而是没有正确地使用空格。
在上图中,第一行是正确运用空格,第二行是不正确使用空格。
添加空格显示的方法:
点击Preferences -> Setting
在Settings-User中添加以下代码
"draw_white_space": "all",
TabError: inconsistent use of tabs and spaces in indentation
是初学者使用subline3常出现的错误,其实这个并非是用户书写错误引起的,而是没有正确地使用空格。
在上图中,第一行是正确运用空格,第二行是不正确使用空格。
添加空格显示的方法:
点击Preferences -> Setting
在Settings-User中添加以下代码
"draw_white_space": "all",