当前位置:网站首页>Indentation of tabs and spaces when writing programs for sublime text
Indentation of tabs and spaces when writing programs for sublime text
2022-07-06 08:33:00 【MAR-Sky】
Reference resources :https://blog.csdn.net/fjnjxr/article/details/79635504
Set indented Tab=4 A space
Problem description , The following figure shows a simple test program , Found that there will be compilation errors ,IndentationError: unindent does not match any outer indentation level, The general meaning is that the indentation is not aligned and matched .sublime This situation is often encountered in , In the reference link is the modification method of the English version , Record the modification method used ,

Modify the process and analysis
analysis , Change the indent to Four character space indented , Because it's set to Tab If you type four spaces, you will still report an error , But if it is set to blank ,Tab Key meeting Auto convert to 4 A space . Here are the modification steps , But the modification only works for later typing , If the indentation before modification is messy , Then use the conversion shown in the figure to indent into spaces .
边栏推荐
- Circular reference of ES6 module
- China vanadium battery Market Research and future prospects report (2022 Edition)
- sublime text没关闭其他运行就使用CTRL+b运行另外的程序问题
- Tidb backup and recovery introduction
- win10系统中的截图,win+prtSc保存位置
- [MySQL] lock
- PC easy to use essential software (used)
- egg. JS project deployment online server
- Research and investment forecast report of citronellol industry in China (2022 Edition)
- Configuring OSPF load sharing for Huawei devices
猜你喜欢

All the ArrayList knowledge you want to know is here

Circular reference of ES6 module

Deep learning: derivation of shallow neural networks and deep neural networks

JVM 快速入门
![[secretly kill little partner pytorch20 days -day01- example of structured data modeling process]](/img/ae/4e616882f6d68acdf8e885843e68a3.jpg)
[secretly kill little partner pytorch20 days -day01- example of structured data modeling process]

MySQL learning record 10getting started with JDBC

Deep analysis of C language pointer

【MySQL】锁
![[brush questions] top101 must be brushed in the interview of niuke.com](/img/55/5ca957e65d48e19dbac8043e89e7d9.png)
[brush questions] top101 must be brushed in the interview of niuke.com

游戏解包的危害及资源加密的重要性
随机推荐
Configuring OSPF load sharing for Huawei devices
Image,cv2读取图片的numpy数组的转换和尺寸resize变化
Deep analysis of C language data storage in memory
sys. argv
Tidb backup and recovery introduction
Introduction to backup and recovery Cr
2022 Inner Mongolia latest water conservancy and hydropower construction safety officer simulation examination questions and answers
深度剖析C语言数据在内存中的存储
[cloud native topic -45]:kubesphere cloud Governance - Introduction and overall architecture of enterprise container platform based on kubernetes
Browser thread
PLT in Matplotlib tight_ layout()
On the inverse order problem of 01 knapsack problem in one-dimensional state
JS native implementation shuttle box
hutool优雅解析URL链接并获取参数
JS pure function
C语言深度解剖——C语言关键字
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
String to leading 0
JVM 快速入门
Image fusion -- challenges, opportunities and Countermeasures