⚠️ This repo is no longer being maintained. See #92

May 22, 2020 · View on GitHub


JS / TS Parameter Annotations for Visual Studio Code

VS Marketplace Version VS Marketplace Installs VS Marketplace Rating TravisCI Build Status AppVeyor Build status

jsannotations screenshot

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.

Settings

There currently is a few configurable settings in the extension

NameDescriptionDefault
jsannotations.enabledEnable JS Annotationstrue
jsannotations.hideIfEqualHide annotation if argument name matches parameter nametrue
jsannotations.hideInvalidAnnotationHide annotations for invalid paramstrue
jsannotations.hideDiagnosticsHide red squiggles under invalid parametersfalse
jsannotations.fontWeightAnnotation styling of font-weight CSS property"400"
jsannotations.fontStyleFont style for annotations."italic"

Themable Colors

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.

NameDescription
jsannotations.annotationForegroundSpecifies the foreground color for the annotations

Contributors 👨‍💻 👩‍💻

Thanks to the following Contributors who have helped with this project in any way