Skip to content

RacerDelux/vscode-js-annotations

 
 

Repository files navigation

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

About

Javascript / Typescript Parameter Annotations for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.1%
  • JavaScript 0.9%