Skip to content

Small text information utility as a VSCode Extension. Annotates source code comments with median score from various text readabillity calculations.

License

Notifications You must be signed in to change notification settings

matthewevans/vscode-textinfo

Repository files navigation

textinfo README

Small VSCode Extension.

Features

  • Displays the estimated reading time remaining for the current document.

  • For supported languages, comments will be detected and annotated to display the evaluated reading level, the following readability tests:

    • Flesch Kincaid Grade
    • Flesch Reading Ease (interpreted as a grade)
    • SMOG Index
    • Coleman Liau Index
    • Automated Readability Index
    • Dale Chall Readability Score
    • Linsear Write Formula
    • Gunning Fog Index
  • Displays a webview with a Boxplot frequency distribution of all included calculations and tests provided by the text-readability package.

  • Plus a tiny pie chart for type frequency display.

Uses text-readability package with custom module definition file. Inspiration for language annotation derived from the Better Comments extension by Aaron Bond.

Requirements

git clone https://github.com/matthewevans/vscode-textinfo.git
cd vscode-textinfo
npm install
  • Open folder in VSCode
  • Press F5 to try it out.

Sample Screenshot

Extension Settings

This extension contributes the following settings:

  • textinfo.estimatedReadingTime: Whether to show the estimated reading time.
  • textinfo.estimatedReadingLevel: Whether to display the estimated reading level.
  • textinfo.multilineComments: Whether the multiline comment highlighter should be active.
  • textinfo.highlightPlainText: Whether the plaintext comment highlighter should be active

Other Extensions

About

Small text information utility as a VSCode Extension. Annotates source code comments with median score from various text readabillity calculations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published