当前位置:网站首页>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 .
边栏推荐
- China Light conveyor belt in-depth research and investment strategy report (2022 Edition)
- 【MySQL】日志
- MySQL learning records 12jdbc operation transactions
- 【ROS】usb_cam相机标定
- 2. File operation - write
- JVM 快速入门
- Tidb backup and recovery introduction
- Vocabulary notes for postgraduate entrance examination (3)
- 深度剖析C语言指针
- Research Report on Market Research and investment strategy of microcrystalline graphite materials in China (2022 Edition)
猜你喜欢
Roguelike游戏成破解重灾区,如何破局?
C language - bit segment
Beijing invitation media
Visual implementation and inspection of visdom
根据csv文件某一列字符串中某个数字排序
【MySQL】日志
Zhong Xuegao, who cannot be melted, cannot escape the life cycle of online celebrity products
Verrouillage [MySQL]
JS inheritance method
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
随机推荐
【MySQL】数据库的存储过程与存储函数通关教程(完整版)
Rviz仿真时遇到机器人瞬间回到世界坐标原点的问题及可能原因
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
704 二分查找
Screenshot in win10 system, win+prtsc save location
Ruffian Heng embedded bimonthly, issue 49
Summary of MySQL index failure scenarios
[MySQL] database stored procedure and storage function clearance tutorial (full version)
PC easy to use essential software (used)
电脑F1-F12用途
2022 Inner Mongolia latest construction tower crane (construction special operation) simulation examination question bank and answers
2022.02.13 - NC003. Design LRU cache structure
Yyds dry goods inventory three JS source code interpretation eventdispatcher
sublime text没关闭其他运行就使用CTRL+b运行另外的程序问题
Modify the video name from the name mapping relationship in the table
sublime text中conda环境中plt.show无法弹出显示图片的问题
win10系统中的截图,win+prtSc保存位置
Online yaml to CSV tool
pcd转ply后在meshlab无法打开,提示 Error details: Unespected eof
China high purity silver nitrate Market Research and investment strategy report (2022 Edition)