Visual Studio代码添加和每个换行符上的多余行

时间:2019-06-10 11:33:19

标签: visual-studio-code

由于某种原因,每次我从服务器打开文件时,Visual Studio Code都会在每个换行符上添加一条多余的白线,因此当我打开文件时,会看到类似以下内容:

if (!isset($content_width)) {

    $content_width = 1140;

}



class Theme

{



    function __construct($check = false)

    {

        if($check) {

            $this->theme_requirement_check();

        }

    }

如果我上传文件,我也会更改文件格式,这是什么原因引起的?原始文件没有这种格式?有没有一种方法可以防止Visual Studio Code进行任何格式设置?

0 个答案:

没有答案