Category: PhpStorm 2022

在 PhpStorm 中格式化 Homestead.yaml 文件后,格式的缩进不正确,格式如下 0

After formatting the homestead.yaml file in phpstorm, the indentation of the format is inconsistent with the homestead.yaml.example

浏览量: 15 1. After formatting the homestead.yaml file in phpstorm, the indentation of the format is incorrect, the format is as follows. as shown in Figure 1 2. Check the format of homestead.yaml.example, –...

运行时报错:syntax error near unexpected token `$'\r'' 0

Run .sh or shell script files using WSL in Windows 10

浏览量: 80 1. Enable WSL, refer to: https://www.shuijingwanwq.com/en/2021/12/23/9949/ , execute to step 5 3, the existing test.sh file, the code is as follows 4. Run Windows Terminal as an administrator and execute the command:...

启动 vagrant 时,报错:D:/Program Files/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.7.0/psych.rb:456:in `parse': (): found a tab character that violates indentation while scanning a plain scalar at line 10 column 7 (Psych::SyntaxError) 0

When starting Vagrant, an error is reported: psych.rb:456:in `parse: (): found a tab character that violates indentation while scanning a plain scalar at line 10 Column 7 (Psych::SyntaxError)

浏览量: 16 1. When starting Vagrant, an error is reported: D:/Program files/hashicorp/vagrant/embedded/mingw64/lib/ruby/2.7.0/psych.rb:456:in `parse: (): found a tab character that violates indentation while scanning a plain scalar at line 10 Column 7 (psych::SyntaxError). as shown...

启动 vagrant 时,报错:D:/Program Files/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.7.0/psych.rb:456:in `parse': (): found a tab character that violates indentation while scanning a plain scalar at line 10 column 7 (Psych::SyntaxError) 0

When starting Vagrant, an error is reported: psych.rb:456:in `parse: (): found a tab character that violates indentation while scanning a plain scalar at line 10 Column 7 (Psych::SyntaxError)

浏览量: 16 1. When starting Vagrant, an error is reported: D:/Program files/hashicorp/vagrant/embedded/mingw64/lib/ruby/2.7.0/psych.rb:456:in `parse: (): found a tab character that violates indentation while scanning a plain scalar at line 10 Column 7 (psych::SyntaxError). as shown...