有什么方法可以突出显示 vscode 中未使用的 php 变量吗?
<?php $foo = 'a'; $bar = 'b'; // I want the IDE mark this somehow $foo = 'c'; ?>
我"editor.showUnused": true在配置文件里有。另外,我尝试了几个intellisense扩展,但没有帮助。
"editor.showUnused": true
intellisense
php visual-studio-code
php ×1
visual-studio-code ×1