当前位置:网站首页>Generally speaking, if the error of inconsistent tab and space occurs frequently
Generally speaking, if the error of inconsistent tab and space occurs frequently
2022-07-02 14:09:00 【Fun of construction】
We should consider whether our code indentation rules are consistent , Especially when porting other people's code , Sometimes it's different from your original rules , Will lead to such mistakes .
Solution : First, make an appropriate rule by yourself , such as , I just indent four blank spaces , Then go to the settings tab Key indent set to 4 A space .
Others' code is simple tab Indent , Then I will use batch replacement to replace others tab Replace with four spaces .
边栏推荐
- QT new project_ MyNotepad++
- 混沌工程平台 ChaosBlade-Box 新版重磅发布
- Data Lake (11): Iceberg table data organization and query
- P1042 [noip2003 popularization group] Table Tennis
- Golang quickly generates model and queryset of database tables
- Whole house Wi Fi: a pain point that no one can solve?
- Drawing Nyquist diagram with MATLAB
- Android kotlin material design technology points
- Quarkus learning IV - project development to deployment
- 软件测试的方法
猜你喜欢
【虹科技术分享】如何测试 DNS 服务器:DNS 性能和响应时间测试
Qt-制作一个简单的计算器-实现四则运算
[development environment] Dell computer system reinstallation (download Dell OS recovery tool | use Dell OS recovery tool to make USB flash disk system | install system)
[to be continued] [UE4 notes] l5ue4 model import
瀏覽器驅動的下載
Qt-制作一个简单的计算器-实现四则运算-将结果以对话框的形式弹出来
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!
Daily practice of C language --- monkeys divide peaches
selenium,元素操作以及浏览器操作方法
Getting started with QT - making a simple calculator
随机推荐
Sum of the first n terms of Fibonacci (fast power of matrix)
你知道Oracle的数据文件大小有上限么?
rxjs Observable 自定义 Operator 的开发技巧
P3008 [usaco11jan]roads and planes g (SPFA + SLF optimization)
2022 home projector preferred! Dangbei F5 brings the ultimate audio-visual experience with its powerful audio-visual effect
Do you know that there is an upper limit on the size of Oracle data files?
Characteristics of selenium
selenium 在pycharm中安装selenium
Runhe hi3516 development board openharmony small system and standard system burning
selenium,元素操作以及浏览器操作方法
MySQL -- convert rownum in Oracle to MySQL
Stone merging Board [interval DP] (ordinary stone Merging & Ring Stone merging)
Pointer from entry to advanced (1)
kaggle如何使用utility script
给Android程序员的一些面试建议「建议收藏」
Quarkus学习四 - 项目开发到部署
Analysis of CPU surge in production environment service
Design of non main lamp: how to make intelligent lighting more "intelligent"?
Federated Search: all requirements in search
【虹科技术分享】如何测试 DNS 服务器:DNS 性能和响应时间测试