Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JS Parameter AnnotationsNew to Visual Studio Code? Get it now.
JS Parameter Annotations

JS Parameter Annotations

Benjamin Lannon

|
39,289 installs
| (22) | Free
Annotations for parameters in your JS / TS Files to mimic named parameters
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

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"

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.

Name Description
jsannotations.annotationForeground Specifies the foreground color for the annotations

Contributors 👨‍💻 👩‍💻

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

  • Flavio Copes (@flaviocopes) (PRs)
  • Guilherme Amorim (@GuiAmPm) (PRs)
  • Laurens Bosscher (@LaurensBosscher) (Issues)
  • Luca Steeb (@steebchen) (Issues)
  • Mike Erickson (@mikeerickson) (PRs, Issues)
  • Nigel Scott (@Gruntfuggly) (Issues)
  • Nurbol Alpysbayev (@anurbol) (Issues)
  • Roman Pavlov (@romap0) (PRs)
  • Sioxas (@sioxas) (Issues)
  • Thibault Malbranche (@Titozzz) (Issues)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft