vscode-js-annotations goes through any Javascript or Typescript file and inserts parameter annotations into all function calls so it is easily noticable on what a particular parameter is.
There currently is a few configurable settings in the extension
Name | Description | Default |
---|---|---|
jsannotations.enabled |
Enable JS Annotations | true |
jsannotations.hideIfEqual |
Hide annotation if argument name matches parameter name | true |
jsannotations.hideInvalidAnnotation |
Hide annotations for invalid params | true |
jsannotations.hideDiagnostics |
Hide red squiggles under invalid parameters | false |
jsannotations.fontWeight |
Annotation styling of font-weight CSS property | "400" |
jsannotations.fontStyle |
Hide annotation if argument name matches parameter name | "italic" |
JS Annotations provides a single themable color being the color of what the annotation should be. It can be added to the workbench.colorCustomizations
property in user settings.
Name | Description |
---|---|
jsannotations.annotationForeground |
Specifies the foreground color for the annotations |
Thanks to the following Contributors who have helped with this project in any way
- Flavio Copes (@flaviocopes) (PRs)
- Guilherme Amorim (@GuiAmPm) (PRs)
- Mike Erickson (@mikeerickson) (PRs, Issues)
- Nigel Scott (@Gruntfuggly) (Issues)
- Nurbol Alpysbayev (@anurbol) (Issues)
- Sioxas (@sioxas) (Issues)