如何禁止VS显示“You have mixed tabs and spaces. Fix this?”
2018-10-07 15:56
691 查看
如何禁止VS显示“You have mixed tabs and spaces. Fix this?”
VS2013 版本的解决方案:
Vs2013 IDE下,编辑C++的工程源码,在打开文件的时候,会出现 “ you have mixed tabs and spaces fix this ”, 然后给出三个选项 Tabify、Untabify、Don't show again。尤其是在打开其他编辑器编写的C++代码,会经常出现这个问题。
问题原因是在使用VS2013 IDE默认设置时,tabs 符会自动转换成空格符,系统需要进行提示,如果选择"untabily",会将所有的tabs符转换成空格符,然后下次再打开时候,就不在提示,如果选择tabify,则保留tabs符,下次再打开文件时仍要进行提示。
解决方法:
Tools(工具) -> Options(选项) -> Productivity Power Tools -> Turn Extensions On/Off-> fix mixed tabs
将其关闭即可,然后世界就清静了。
VS2017版本 的解决方案:
点击工具---扩展和更新 , 在插件栏目里找到 Fixed Mixed Tabs, 然后将其卸载掉, 之后就再也不会看到烦人的Tab和空格的转换提示了
参考: https://lonelycoding.com/how-can-i-prevent-the-you-have-mixed-tabs-and-spaces-fix-this-message/
相关文章推荐
- you have mixed tabs and spaces fix this
- you have mixed tabs and spaces fix this
- you have mixed tabs and spaces. Fix this?
- Why do I keep getting mixed tabs and spaces in a Visual Studio C# code window?[vs power tools issue transfered]
- You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH
- apache 403错误 显示如下: You don't have permission to access / on this server. 解决办法
- 显示*** missing separator (did you mean TAB instead of 8 spaces?) 解决方案
- 访问 apache 显示 Forbidden You don't have permission to access /index.html on this server. 解决方法
- 如何解决You don't have permission to access / on this server
- django提交表单报错"You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SL
- django提交表单提示"You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SL
- Fix "\\computer is not accessible. You might not have permission to use this network resource”
- apache问题you don't have permission to access / on this server如何解决
- 禁止显示“You have new mail in /var/spool/mail/root”
- apache问题you don't have permission to access / on this server如何解决
- 在浏览器中输入localhost不能打开apache下www文件夹中的文件 提示You don't have permission to access /test.php on this ...
- wamp中访问http出现You don’t have permission to access/on this server提示
- inconsistent use of tabs and spaces in indentation
- wampserver出现You don’t have permission to access/on this server
- C#.NET的TabControl如何隐藏和显示页面