Why phpstorm don't see wordpress autocomplit?

I work in ubuntu. 

I activate wordpress plugin and change wordpress settings path for my project.

I configure php interpreter

but it not help me 

when i write wordpress function, phpstorm don't see it.

What i forgot to do?

I need help!!!

Thanks for help.

 

0
6 comments

Hi there,

You have excluded "wp_includes" folder ... Why?

0

Because i work just with wp-content. By the way, i resolve my problem. I change group from user to www-data for my project, and it works.

0

>Because i work just with wp-content.

But get_header() and other functions are declared in that "wp_includes" folder. If it's excluded then they (functions defined there) will not be discovered by IDE...

 

>By the way, i resolve my problem.

Great. So it's not an issue any more.

0

Ok, but if i want to not show the path of the files in the wp-admin and wp-inlcludes, when i search the file with ctrl+shift+n, what i gonna do?

0

You can do the same what used for Composer packages: exclude folder and then re-add it as PHP Include Path entry: such folder will still be indexed but will not be treated as "your code" (will be a "library").

0

Thanks, i understand)) 

0

Please sign in to leave a comment.