/AsciiComment

VS Code Extension to create Ascii Comments based via toilet on linux

Primary LanguageJavaScriptOtherNOASSERTION

VSCode Ascii Comment

what does it do?

it adds a hotkey to convert the selected line of text into an ascii art comment


how do i use it? usage

ctrl+shift+/



Example

this is my comment|  <-cursor on this line & ctrl+shift+/
import { blah } from blah
import { taco, burrito } from tacobell

turns into

// ┌─────────────────────────────────────────────────────┐
// │╺┳╸╻ ╻╻┏━┓   ╻┏━┓   ┏┳┓╻ ╻   ┏━╸┏━┓┏┳┓┏┳┓┏━╸┏┓╻╺┳╸   │
// │ ┃ ┣━┫┃┗━┓   ┃┗━┓   ┃┃┃┗┳┛   ┃  ┃ ┃┃┃┃┃┃┃┣╸ ┃┗┫ ┃    │
// │ ╹ ╹ ╹╹┗━┛   ╹┗━┛   ╹ ╹ ╹    ┗━╸┗━┛╹ ╹╹ ╹┗━╸╹ ╹ ╹    │
// └─────────────────────────────────────────────────────┘
import { blah } from blah
import { taco, burrito } from tacobell

Go to settings (ctrl + ,) and you can change the font used in toilet or change the entire command.