Tag: file
-
Post Views: 33 1. In VS Code Ctrl + S, the file is restored to the previous step, not the expected save file Before modification: After modification: After Ctrl + S : 2. Do a key check first, open the Visual Studio Code settings: press: Ctrl + , search: format on save to see if it is enabled: editor: format…
-
Post Views: 35 1. Generate src/frontend/views/use-case/view-mobile.php~ in phpstorm, how to cancel? as shown in Figure 1 2. File – Settings – Appearance and Behavior – System Settings – Auto Save – Backup files before saving, uncheck them. as shown in Figure 2
-
Post Views: 19 1. UncaughtXError: Cannot use import statement outside a module (at statement.js:1:1). Reference: Refactoring: Improve the design of existing code (2nd edition). as shown in Figure 1 2. The code is implemented as follows, as shown in Figure 2 statement.html statement.js CreateStatementData.js 3. Reference:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Guide/Modules. JavaScript module. You need to put type=”module” into the script tag to declare that…
-
Post Views: 16 1. PHP_CodeSniffer marks PHP, JavaScript and CSS files to detect and repair violations of a set of defined encoding standards. When executing PHPCS, you will be prompted for the analysis of File: Found 1 Error Affecting 1 Line. as shown in Figure 1 2. First confirm the first file, on line 182, there is ;; , you…
-
Post Views: 19 1. In PHPStorm and Laravel 6, the event log: Switch Laravel Idea Module System to Laravel-Modules? Switch or DonT show this again. as shown in Figure 1 2. Reference:https://laravel-idea.com/docs/modules. Laravel Idea uses module system concepts to understand the structure of the application. It helps with the correct view, configuration, routing and more convenient code generation. The module…
-
Post Views: 17 1. Check the current version of phpstorm, help -> about. PHPStorm 2021.1.4. as shown in Figure 1 2. File -> settings -> plugins -> marketplace. Search: Chinese. Select and install: Chinese (Simplified) language pack / Chinese language pack . Chinese language packs will be your IntelliJ IDEA, AppCode, CLion, DataGrip, Goland, PyCharm, PHPStorm, Rubymine, and WebStorm…
-
Post Views: 58 1. Reference URL: https://developers.weixin.qq.com/doc/offaccount/asset_management/adding_permanent_assets.html . as shown in Figure 1 2. In Postman, the request header: form-data. 2 request body parameters: description, format is text; media, format is file. as shown in Figure 2 3. When the request body parameter is canceled: description, the response fails. as shown in Figure 3 4. Enter the official website material…