Can VS Code be configured to highlight unused parameters? I am currently working on a Vue component using TypeScript.
The editor successfully highlights unused imports:
https://i.sstatic.net/sWg9D.png
However, it does not seem to detect unused properties:
https://i.sstatic.net/bVBKu.png
I have tried adding the following settings to my settings.json file, but it did not solve the issue.
"editor.showUnused": true,
"workbench.colorCustomizations": {
"editorUnnecessaryCode.border": "#ff0000"
}
Here is an example of a Vue component:
import Vue from 'vue';
import { Component } from 'vue-property-decorator';
@Component
export default class VueComponentExample extends Vue {
bla: boolean = false;
}
</script>