Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>FormaTeXNew to Visual Studio Code? Get it now.
FormaTeX

FormaTeX

formatex

|
1 install
| (0) | Free
Compile LaTeX with FormaTeX directly from VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FormaTeX VS Code Extension

Compile LaTeX using FormaTeX API directly from VS Code.

Install

  • Marketplace: https://marketplace.visualstudio.com/items?itemName=formatex-io.formatex
  • Extension ID: formatex-io.formatex

Features

  • Secure API key storage using VS Code Secret Storage
  • Compile current .tex document
  • Compile selected .tex file from Explorer
  • Compile full LaTeX project with dependency packaging
  • Syntax check without full compilation
  • Save output PDFs to .formatex/output
  • Show compile logs and diagnostics

Commands

  • FormaTeX: Set API Key
  • FormaTeX: Clear API Key
  • FormaTeX: Compile Current Document
  • FormaTeX: Compile Selected File
  • FormaTeX: Compile Project
  • FormaTeX: Check Syntax
  • FormaTeX: Open Last PDF
  • FormaTeX: Show Compile Output
  • FormaTeX: Show Usage

Quick Start

  1. Install the extension from Marketplace.
  2. Open a .tex file in VS Code.
  3. Run FormaTeX: Set API Key from the command palette.
  4. Right-click in editor or explorer and choose:
    • FormaTeX: Compile Current Document
    • FormaTeX: Compile Selected File
    • FormaTeX: Compile Project

Compiled PDFs are saved in .formatex/output.

Screenshots

Enter API Key

Compile from Context Menu

First Compile Without API Key

Development

npm install
npm run compile

Press F5 in VS Code to run the Extension Development Host.

Packaging

npm run package

This generates a .vsix artifact.

Publishing

npx @vscode/vsce login formatex-io
npx @vscode/vsce publish
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft