Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Banner commentsNew to Visual Studio Code? Get it now.
Banner comments

Banner comments

daniel-junior-dube

|
15,079 installs
| (5) | Free
Converts selected lines into banner comments using figlet fonts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

header

Converts the selected text into banners-comments "headers" using figlet.

Table of Contents

  • Features
    • Apply
    • Set font
    • Add to / remove from favorites
  • Settings
  • Known Issues

Features

Apply

Transform selected text into a figlet font from either:

  • "Apply <h1|h2|h3> font": A user-defined header type (h1, h2 or h3)
  • "Apply from list": The list of available figlet fonts
  • "Apply from favorites": A list of selected favorites

You can also enable whitespaceBreak and defined a desired width so the resulting comment wraps automatically (See settings).

feature 'Apply'

Also supports multi-line selections:

feature 'Multi-cursor'

Set font

Assign a font for the specified header type (h1, h2 and h3).

feature 'Set font'

Add to / remove from favorites

Add a font to the list of favorites so it's easily accessible later.

Settings

This extension contributes the following settings:

  • banner-comments.h1: "<figlet font name>"
  • banner-comments.h2: "<figlet font name>"
  • banner-comments.h3: "<figlet font name>"
  • banner-comments.favorites: [ <figlet font name>, ... ]
  • banner-comments.figlet.horizontalLayout: "<default | full | fitted | controlled smushing | universal smushing>"
  • banner-comments.figlet.verticalLayout: "<default | full | fitted | controlled smushing | universal smushing>"
  • banner-comments.figlet.whitespaceBreak: "<true|false>"
  • banner-comments.figlet.width: "<integer value (default 80)>"

Known Issues

  • Only the languages provided by vscode are supported to wrap the banner with comments. Converting to figlet font should still work
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft