7/14/2023 0 Comments Search file intellij![]() On the PHP page that opens, add the path to the wp-content folder to the Include Paths list: click the button and specify the path to the folder in the dialog that opens. To have the wp-content folder involved in indexing without putting it under the project version control, add it to the list of include paths: If the wp-content folder is located outside the WordPress installation, you need to add it to the project individually, apart from the WordPress core files. ![]() On the PHP reference page that opens, add the path to the WordPress installation folder to the Include Paths list: click the button and specify the path to the installation folder in the dialog that opens. In the Settings dialog ( Ctrl+Alt+S), navigate to Languages & Frameworks | PHP. To add WordPress to your project as an external library, you need to add it to the list of include paths. Configure the WordPress installation as a project include path If the wp-content folder is outside the WordPress installation, it needs to be added either as an include path or as a content root. As a result, the WordPress core file will be involved in indexing, which is the basis for resolving references and providing code completion, navigation, search, and so on. To take advantage of coding assistance provided by IntelliJ IDEA, the WordPress installation you are working with should be configured in the project as an external library. IntelliJ IDEA provides full coding assistance for developing WordPress including WordPress-aware code completion, search for hook registration functions and functions specified as hook registration parameters, navigation between hook registrations and the hook invocations, callbacks, the possibility to configure the coding style in accordance with the WordPress code style, viewing the official WordPress documentation from the IntelliJ IDEA editor, and so on. ![]()
0 Comments
Leave a Reply. |