I have enabled editor.showUnused with following codes in the usersettings
{ "editor.showUnused": true, "workbench.colorCustomizations": { "editorUnnecessaryCode.border": "#a10906", "editorUnnecessaryCode.foreground": "#a10906", } }
- I have declared a access modifier (private,protected or public) as private $db and assigned some value in the constructor.
- But in the visual studio code IDE, i can still view the error border line which indicating the variable as unused variable.
