Overleaf Studio

An Overleaf-style LaTeX editor inside VS Code. It shows a file tree, a source editor and a PDF preview in one panel, compiles with Tectonic, and syncs edits back to an Overleaf project through git.

Overleaf Studio

Features

  • Overleaf-like layout: file tree, file outline, editor and PDF side by side. Use the split, editor-only or PDF-only layout.
  • Recompile with Tectonic: normal, draft and "continue on errors" modes, with an optional auto-compile. BibTeX runs again when a .bib file changes.
  • SyncTeX in both directions: jump from the source to the PDF and back.
  • Safe saving: edits save immediately. Changes made on disk by another editor are merged or reloaded. When both sides change, nothing is overwritten: a recovery copy is kept and a diff is offered.
  • Push to Overleaf: review a word-level diff against the remote first, then commit, rebase and push in one click.
  • Editor settings: Vim/Emacs keymaps, themes, fonts, autocomplete for \ref and \cite, and spell check.
  • Optional extras (off by default): a Chinese translation under each paragraph, and AI-writing scans with Pangram (API key needed) or GPTZero.

Install

  1. Download overleaf-studio-0.1.0.vsix.

  2. In VS Code, open the Extensions view, click ... and choose Install from VSIX.... You can also run:

    code --install-extension overleaf-studio-0.1.0.vsix
    
  3. Install Tectonic and make sure tectonic is on your PATH, or set overleafStudio.tectonicPath.

Usage

  • Click Overleaf in the status bar, run Overleaf: Open Project in Overleaf Studio, or right-click a folder or .tex file.
  • The project picker lists the sub-folders of overleafStudio.projectsRoot (default ~/overleaf).
  • To push to Overleaf, clone the project with Overleaf's git integration (git clone https://git.overleaf.com/<project-id>) and store a git credential for it. The Push button shows the destination, the account and the commit author before anything is sent.

Settings

Setting Default Purpose
overleafStudio.tectonicPath tectonic Tectonic binary used for Recompile
overleafStudio.projectsRoot ~/overleaf Folder whose sub-folders are offered as projects
overleafStudio.gitAuthor empty Commit author (Name <email>) when the clone has none
overleafStudio.googleTranslateKey empty Google Cloud Translation key for the translation view
overleafStudio.pangramKeyFile ~/pangram-api-key File holding a Pangram API key
overleafStudio.pangramModel pangram-4.1 Pangram model used for scans
overleafStudio.statusBar true Show the Overleaf button in the status bar

Privacy

The editor works offline except for the features below. Each one is off by default and only runs when you turn it on or click it.

  • Translation view sends paragraph text to Google Translate.
  • Pangram scan sends the selected text to the Pangram API.
  • GPTZero scan pastes the selected text into your own logged-in GPTZero page. It needs a separate integrated-browser bridge and is experimental.

Development

There is no build step. Clone the repository into your VS Code extensions folder, or package it as shown below:

git clone https://huggingface.co/oxford-lob/overleaf-studio

Tests need Node 18 or newer:

node --test tests/document-sync.test.js
node tests/browser-sync.cjs   # needs headless Chromium (Playwright) or CHROME_PATH

Package a .vsix:

npx @vscode/vsce package

License

MIT. Bundled third-party code and fonts keep their own licenses; see THIRD_PARTY_NOTICES.md.

Overleaf Studio is not affiliated with or endorsed by Overleaf.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support