Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99639

Highlight unused vars in vscode

$
0
0

Is there any way to highlight unused php-variables in vscode?

<?php
$foo = 'a';
$bar = 'b'; // I want the IDE mark this somehow

$foo = 'c';
?>

I have "editor.showUnused": true in the config file. Also, I tried a couple intellisense extensions, but it didn't help.


Viewing all articles
Browse latest Browse all 99639

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>