【发布时间】:2019-07-03 02:54:09
【问题描述】:
有没有办法在 vscode 中突出显示未使用的 php 变量?
<?php
$foo = 'a';
$bar = 'b'; // I want the IDE mark this somehow
$foo = 'c';
?>
我在配置文件中有"editor.showUnused": true。另外,我尝试了几个 intellisense 扩展,但没有帮助。
【问题讨论】:
-
恐怕在 PHP 方面 Visual Studio Code 不是最先进的工具。