当前位置:网站首页>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 .
边栏推荐
- 查看局域网中电脑设备
- Leetcode question brushing (5.28) hash table
- Hungry for 4 years + Ali for 2 years: some conclusions and Thoughts on the road of research and development
- IoT -- 解读物联网四层架构
- sys. argv
- JVM performance tuning and practical basic theory - Part 1
- 深度剖析C语言指针
- 根据csv文件某一列字符串中某个数字排序
- FairGuard游戏加固:游戏出海热潮下,游戏安全面临新挑战
- JS inheritance method
猜你喜欢
JVM performance tuning and practical basic theory - Part 1
Online yaml to CSV tool
JVM performance tuning and practical basic theory - Part 1
C language - bit segment
Screenshot in win10 system, win+prtsc save location
Leetcode question brushing (5.28) hash table
MySQL learning record 11jdbcstatement object, SQL injection problem and Preparedstatement object
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
Sublime text in CONDA environment plt Show cannot pop up the problem of displaying pictures
Restful API design specification
随机推荐
【Nvidia开发板】常见问题集 (不定时更新)
Introduction to backup and recovery Cr
Leetcode question brushing (5.31) string
Golang force buckle leetcode 1020 Number of enclaves
Day29-t77 & t1726-2022-02-13-don't answer by yourself
vulnhub hackme: 1
What is CSRF (Cross Site Request Forgery)?
visdom可视化实现与检查介绍
Tidb backup and recovery introduction
【ROS】usb_cam相机标定
生成器参数传入参数
China vanadium battery Market Research and future prospects report (2022 Edition)
按位逻辑运算符
Image fusion -- challenges, opportunities and Countermeasures
MySQL learning record 10getting started with JDBC
化不掉的钟薛高,逃不出网红产品的生命周期
The resources of underground pipe holes are tight, and the air blowing micro cable is not fragrant?
Leetcode skimming (5.29) hash table
【MySQL】鎖
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