Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ListingNew to Visual Studio Code? Get it now.
Listing

Listing

lachrist

|
63 installs
| (0) | Free
Extract listing from VSCode in HTML and LaTex format.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-listing

VSCode extension for generating LaTex and HTML listings using the syntax highlighting of your favorite editor. Currently, only macOS is supported. Save your raw listings in listing/src and watch listing/out for generated listings.

Demo GIF

Recommended way to include LaTex listings:

\documentclass{article}
\usepackage{xcolor}
\usepackage{fancyvrb}
\usepackage{ulem} % for underline decoration
\begin{document}
% Don't forget to specify the regular latex command separators!
\VerbatimInput[commandchars=\\\{\}]{listing/foo.tex}
\end{document}

Features

  • Automatic generation of HTML/LaTex listings on save.
  • Commands for copying listing of selected text to clipboard.
    • Listing: Copy as HTML Listing
    • Listing: Copy as LaTex Listing
  • Temporary theme switching, handy if you want your listing in a light theme but prefer editing with dark themes.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft