当前位置:网站首页>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 .
边栏推荐
- Is it safe to open an account in Zheshang futures?
- 【MySQL】日志
- 根据csv文件某一列字符串中某个数字排序
- Use br to back up tidb cluster data to S3 compatible storage
- Sort according to a number in a string in a column of CSV file
- Image, CV2 read the conversion and size resize change of numpy array of pictures
- 角色动画(Character Animation)的现状与趋势
- China dihydrolaurenol market forecast and investment strategy report (2022 Edition)
- Configuring OSPF load sharing for Huawei devices
- China high purity silver nitrate Market Research and investment strategy report (2022 Edition)
猜你喜欢
JVM performance tuning and practical basic theory - Part 1
[brush questions] top101 must be brushed in the interview of niuke.com
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
pytorch训练好的模型在加载和保存过程中的问题
sublime text中conda环境中plt.show无法弹出显示图片的问题
Sublime text in CONDA environment plt Show cannot pop up the problem of displaying pictures
Hungry for 4 years + Ali for 2 years: some conclusions and Thoughts on the road of research and development
C語言雙指針——經典題型
The resources of underground pipe holes are tight, and the air blowing micro cable is not fragrant?
【MySQL】日志
随机推荐
Precise query of tree tree
Colorlog结合logging打印有颜色的日志
Browser thread
2022.02.13 - NC001. Reverse linked list
IOT -- interpreting the four tier architecture of the Internet of things
egg. JS getting started navigation: installation, use and learning
Zhong Xuegao, who cannot be melted, cannot escape the life cycle of online celebrity products
sublime text没关闭其他运行就使用CTRL+b运行另外的程序问题
[MySQL] lock
C語言雙指針——經典題型
China dihydrolaurenol market forecast and investment strategy report (2022 Edition)
pytorch训练好的模型在加载和保存过程中的问题
Research and investment forecast report of citronellol industry in China (2022 Edition)
PC easy to use essential software (used)
Leetcode skimming (5.29) hash table
Huawei cloud OBS file upload and download tool class
hutool优雅解析URL链接并获取参数
JVM performance tuning and practical basic theory - Part 1
704 二分查找
PLT in Matplotlib tight_ layout()