当前位置:网站首页>一般来讲,如果频繁出现inconsistent tab and space的报错
一般来讲,如果频繁出现inconsistent tab and space的报错
2022-07-02 10:28:00 【构建的乐趣】
就要考虑自己的代码缩进的规则是否一致,尤其是在移植别人的代码时候,有时候和自己原有的规则不一样,就会导致这样的错误。
解决方案:首先自己定好一个合适的规则,比如,我就是空四个空格缩进,那么就要到设置里把tab键缩进设置为4个空格。
别人的代码是单纯tab缩进,那么我就要利用批量替换把别人的tab给替换为四个空格。
边栏推荐
- Simple introduction to ENSP
- Qt入门-制作一个简易的计算器
- 三谈exception——错误处理
- Partner cloud form strong upgrade! Pro version, more extraordinary!
- Selenium installing selenium in pycharm
- Code implementation MNLM
- Runhe hi3516 development board openharmony small system and standard system burning
- rxjs Observable 自定义 Operator 的开发技巧
- MySQL -- convert rownum in Oracle to MySQL
- ArrayList and LinkedList
猜你喜欢

ensp简单入门

The 29 year old programmer in Shanghai was sentenced to 10 months for "deleting the database and running away" on the day of his resignation!

Halcon extract orange (Orange)

Selenium, element operation and browser operation methods

全屋Wi-Fi:一个谁也解决不好的痛点?

qt中uic的使用

万物生长大会在杭召开,当贝入选2022中国未来独角兽TOP100榜单

MySQL45讲——学习极客时间MySQL实战45讲笔记—— 04 | 深入浅出索引(上)

基于ssm+jsp框架实现的学生选课信息管理系统【源码+数据库】

I did it with two lines of code. As a result, my sister had a more ingenious way
随机推荐
Unity small map production [2]
Development skills of rxjs observable custom operator
BeanUtils--浅拷贝--实例/原理
mysql ---- Oracle中的rownum转换成MySQL
Runhe hi3516 development board openharmony small system and standard system burning
Drawing Nyquist diagram with MATLAB
QT how to set fixed size
路由(二)
大家信夫一站式信用平台让信用场景“用起来
OpenFOAM:lduMatrix&lduAddressing
[Blue Bridge Cup] children's worship circle
D how to check null
【虹科技术分享】如何测试 DNS 服务器:DNS 性能和响应时间测试
你的 Sleep 服务会梦到服务网格外的 bookinfo 吗
[Unity]使用GB2312,打包后程序不正常解决方案
错误:EACCES:权限被拒绝,访问“/usr/lib/node_modules”
selenium 在pycharm中安装selenium
Qt如何设置固定大小
浏览器驱动的下载
Don't spend money, spend an hour to build your own blog website