当前位置:网站首页>一般来讲,如果频繁出现inconsistent tab and space的报错
一般来讲,如果频繁出现inconsistent tab and space的报错
2022-07-02 10:28:00 【构建的乐趣】
就要考虑自己的代码缩进的规则是否一致,尤其是在移植别人的代码时候,有时候和自己原有的规则不一样,就会导致这样的错误。
解决方案:首先自己定好一个合适的规则,比如,我就是空四个空格缩进,那么就要到设置里把tab键缩进设置为4个空格。
别人的代码是单纯tab缩进,那么我就要利用批量替换把别人的tab给替换为四个空格。
边栏推荐
- In 2021, the global revenue of structural bolts was about $796.4 million, and it is expected to reach $1097.6 million in 2028
- Can automatically update the universal weekly report template, you can use it with your hand!
- How to explain binary search to my sister? This is really difficult, fan!
- Code implementation MNLM
- Will your sleep service dream of the extra bookinfo on the service network
- ensp简单入门
- uniapp小程序 subPackages分包配置
- Use bloc to build a page instance of shutter
- [youcans' image processing learning course] general contents
- Chaos engineering platform chaosblade box new heavy release
猜你喜欢

Engineers who can't read device manuals are not good cooks

Getting started with QT - making a simple calculator

Design of non main lamp: how to make intelligent lighting more "intelligent"?

Unity skframework framework (XII), score scoring module

【虹科技术分享】如何测试 DNS 服务器:DNS 性能和响应时间测试

Solve "sub number integer", "jump happily", "turn on the light"

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

Daily practice of C language --- monkeys divide peaches

Téléchargement par navigateur

万物生长大会在杭召开,当贝入选2022中国未来独角兽TOP100榜单
随机推荐
P3008 [usaco11jan]roads and planes g (SPFA + SLF optimization)
Bridge of undirected graph
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!
大家信夫一站式信用平台让信用场景“用起来
Design of non main lamp: how to make intelligent lighting more "intelligent"?
P1347 sorting (topology + SPFA judgment ring or topology [inner judgment ring])
[technology development-22]: rapid overview of the application and development of network and communication technology-2-communication Technology
Just 1000 fans, record it
A better database client management tool than Navicat
MySQL45讲——学习极客时间MySQL实战45讲笔记—— 04 | 深入浅出索引(上)
[usaco05jan]watchcow s (Euler loop)
selenium 在pycharm中安装selenium
路由(二)
Qt入门-制作一个简易的计算器
Android kotlin material design technology points
Story point vs. Human Sky
Slashgear shares 2021 life changing technology products, which are somewhat unexpected
错误:EACCES:权限被拒绝,访问“/usr/lib/node_modules”
Daily practice of C language --- monkeys divide peaches
How to explain binary search to my sister? This is really difficult, fan!