ubuntu下安装的sublime3,在windows下代码是齐的,copy到ubuntu下代码就对不齐了,就算重新写一份只使用tab也还是对不齐。。。请教各位有啥解决办法
ubuntu
sublime3
windows
copy
tab
如图二:其实function距离左边是4个字符,$离左边是4个字符,dataType离左边也是,就是参考线对不起
业精于勤,荒于嬉;行成于思,毁于随。
If you mean that the tab does not seem to be 4 characters wide, then it must be the font. Choose a fixed-width font.
Install a formatting plug-in
I like sublime plugins a lot~
I don’t understand what misalignment means = =Is it because of equal-width characters? Or is it because of 4个空格变成3个or2?
4
3
2
This must not be a monospaced font. . Change the configuration file, just replace it with Monospace.
Also, there are some articles on the Internet that recommend excellent monospaced fonts. If you are interested, you can also take a look~
If you mean that the tab does not seem to be 4 characters wide, then it must be the font. Choose a fixed-width font.
Install a formatting plug-in
I like sublime plugins a lot~
I don’t understand what misalignment means = =Is it because of equal-width characters?
Or is it because of
4
个空格变成3
个or2
?This must not be a monospaced font. . Change the configuration file, just replace it with Monospace.
Also, there are some articles on the Internet that recommend excellent monospaced fonts. If you are interested, you can also take a look~