Get the App
SLTechnology News&Howtos  ›  Development  › 

What to do if webstorm doesn't recognize PHP?

Shulou Source: shulou.com Published: 2022-06-01 23:40:53 10月04日 Update

This article shows you how to solve the problem that webstorm does not recognize PHP. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Webstorm does not recognize PHP solutions: 1, open webstorm and click "File- > settings- > File Types"; 2, select "PHP FILES"; 3, click the green plus sign, and enter "* .php" in the pop-up box.

This article operating environment: Windows7 system, webstorm2020.3 version, DELL G3 computer

What if webstorm does not recognize PHP?

Identify php code in the webstorm editor

1. Click File-> settings-> File Types there are two boxes on the right, select PHP FILES in the upper box, then click the green plus sign in the lower box, and enter * .php in the pop-up box.

2. The purpose of this is to render documents that end in .php in the way defined by PHP FILES, but unfortunately, this syntax highlighting is basically useless.

3. JetBrains released version 2017.1 of its most popular WebStorm IDE, adding support for Vue.js without exception. WebStorm now recognizes the .vue file and adds code completion to the template. When referencing other view components, WebStorm will also be able to automatically complete the code and automatically increase the import declaration.

4. CommonsChunkPlugin is a common code extraction plug-in when building Webpack-based front-end workflows. This paper summarizes and analyzes some misunderstandings in the use of community feedback CommonsChunkPlugin and the practice of synchronous / asynchronous common code block extraction by the Webpack development team.

What language is php php, a nested acronym, is the abbreviation of English Hypertext preprocessing language (PHP:Hypertext Preprocessor). PHP is a kind of HTML embedded language. PHP is somewhat similar to Microsoft's ASP. It is a scripting language that embeds HTML documents on the server. The style of the language is similar to C language, and now it is widely used by many website programmers.

The above content is how to solve the problem that webstorm does not recognize PHP. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: Language code content plus sign skills file document knowledge green acronym input similar concise nothing concise people front end method function right Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi macOS MariaDB Shulou Technology Microsoft