Home > Back-end >  VS Code wrong Auto Suggestion with PHP Intelphense v.1.8.2
VS Code wrong Auto Suggestion with PHP Intelphense v.1.8.2

Time:07-24

I have the following problem.

In VSCode, i am using PHP Intelphense v. 1.8.2

When adding an img tag within a .php file (html area) i got tons of suggestions in the src attribut, what is wrong. Within the src attribute i only want to see folders.

Example php Wrong behaviour: enter image description here

Expected behaviour: enter image description here

How can i make correct folder suggestions only, in an img src attribute? (showing/suggestion folders only)

CodePudding user response:

I found the following solution. Looks like,there are other Standard Basic PHP Settings beside the PHP-intelephense extension.

In settings.json I added:

      "php.suggest.basic": false,
      "php.validate.enable": false,

After that the extension PHP-Intelephense works like charm again.

  • Related