VS代码PHP Intelephense扩展错误的建议路径
我使用vscode作为编辑器,使用php intelephense作为php格式化程序。它工作得很好,但当我想使用相对文件路径时,例如:VS代码PHP Intelephense扩展错误的建议路径,php,visual-studio-code,intelephense,Php,Visual Studio Code,Intelephense,我使用vscode作为编辑器,使用php intelephense作为php格式化程序。它工作得很好,但当我想使用相对文件路径时,例如: <link rel="stylesheet" href="../css/style.css"> 所以,当我遵循intelephense的建议时,它会产生错误的css路径 http://localhost/sites/php/sites/css/style.css 显然,样式css的路径应该是这样的 ht
<link rel="stylesheet" href="../css/style.css">
所以,当我遵循intelephense的建议时,它会产生错误的css路径
http://localhost/sites/php/sites/css/style.css
显然,样式css的路径应该是这样的
http://localhost/sites/css/style.css
我知道我可以手动添加正确的路径,但我想php intelephense建议我正确的路径,这将使我在忘记文件路径时变得容易。那么,有正确路径建议的解决方案是什么
http://localhost/sites/php/sites/css/style.css
http://localhost/sites/css/style.css