当前位置:网站首页>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 .
边栏推荐
- VMware virtualization cluster
- Restore backup data on S3 compatible storage with tidb lightning
- 3. File operation 3-with
- 同一局域网的手机和电脑相互访问,IIS设置
- C语言双指针——经典题型
- Sublime text in CONDA environment plt Show cannot pop up the problem of displaying pictures
- Precise query of tree tree
- 704 二分查找
- 电脑清理,删除的系统文件
- sublime text中conda环境中plt.show无法弹出显示图片的问题
猜你喜欢
角色动画(Character Animation)的现状与趋势
Ruffian Heng embedded bimonthly, issue 49
On the day of resignation, jd.com deleted the database and ran away, and the programmer was sentenced
Synchronized solves problems caused by sharing
Deep learning: derivation of shallow neural networks and deep neural networks
Cisp-pte practice explanation
3. File operation 3-with
tree树的精准查询
leetcode刷题 (5.28) 哈希表
vulnhub hackme: 1
随机推荐
Ruffian Heng embedded bimonthly, issue 49
[2022 广东省赛M] 拉格朗日插值 (多元函数极值 分治NTT)
Hungry for 4 years + Ali for 2 years: some conclusions and Thoughts on the road of research and development
PC easy to use essential software (used)
egg. JS directory structure
查看局域网中电脑设备
个人电脑好用必备软件(使用过)
VMware 虚拟化集群
被破解毁掉的国产游戏之光
Permutation and combination function
软件卸载时遇到trying to use is on a network resource that is unavailable
Tidb backup and recovery introduction
pcd转ply后在meshlab无法打开,提示 Error details: Unespected eof
Research Report on Market Research and investment strategy of microcrystalline graphite materials in China (2022 Edition)
Unified ordering background interface product description Chinese garbled
深度剖析C语言指针
[secretly kill little partner pytorch20 days -day01- example of structured data modeling process]
C language - bit segment
Process of obtaining the electronic version of academic qualifications of xuexin.com
MySQL learning records 12jdbc operation transactions