Category: PhpStorm 2022
-
Post Views: 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, – there is only one space with map. as shown in Figure 2 3. Reference:https://www.jetbrains.com.cn/help/phpstorm/2021.3/yaml.html. Settings – Editor – Code Style – YAML . Settings may…
-
Post Views: 86 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: bash test.sh . run successfully. as shown in Figure 1 5. The existing Themes.sh file, the code is as follows 6. Error at runtime: syntax…
-
Post Views: 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 in Figure 1 2. View the file ~/homestead/homestead.yaml in phpstorm, and find a red wavy line prompt. The reason may be that it has been…
-
Post Views: 18 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 in Figure 1 2. View the file ~/homestead/homestead.yaml in phpstorm, and find a red wavy line prompt. The reason may be that it has been…
-
Post Views: 17 1. Paste the contents of the JSON file into a PHP file. The format is lost after pasting. as shown in Figure 1 2. After copying, in the php file, right-click – copy/paste special – paste as plain text. as shown in Figure 2 3. The pasted format is already in json format, as shown in Figure…