在一次项目开发中,分隔符是以\t来的。在某次模拟的过程中,建立了一个txt文件,按照tab来分割,发现程序运行的时候,并不能达到想要的效果,最后检查txt文件,发现是IDEA的默认tab并不是\t。所以去找度娘,解决了修改的办法,如下:settings-->code style-->other file types-->scheme下拉为project。将use tab character前面勾选即可。
IDEA中将制表符换成\t
最新推荐文章于 2024-07-17 08:30:00 发布