由于某种原因,每次我从服务器打开文件时,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进行任何格式设置?