S
S
Sergey Burduzha2018-03-15 09:16:30
phpstorm
Sergey Burduzha, 2018-03-15 09:16:30

Why is wordpress syntax support not working in phpstorm?

I connected the wordpress plugin, then enabled wordpress support in the settings
storage8.static.itmages.com/i/18/0315/h_1521094501... I
restarted the storm, but the autocomplete did not work.
What did I forget?
Thanks in advance for your help.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Burduzha, 2018-03-16
@serii81

In short, I found a solution. What I have done so far. In Ubuntu, I added the www-data group to my user group. And it turned out that for the folder with the site, the group was user.
Now I decided to change the approach, I added my user to the www-data group. Created a new project and now wordpress autocomplete is working.
I think that was the whole problem.

T
TheRevan, 2018-03-15
@TheRevan

you can even work without a plugin, phpstorm looks through the entire project and calls the available functions to the variable / object when typing

I
Ivan Kozlov, 2018-03-15
@trampick

I myself work constantly with wp in phpstrom. To include the wp library for the storm, it is necessary that the project directory contains all the wp files and directories (wp-content, wp-admin, wp-includes). If something is missing, then the library will not work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question