Overleaf-VS CodeWork on Overleaf projects in VS Code with real-time, bidirectional synchronization: your edits reach Overleaf, and collaborators’ edits appear in your editor. Compile on your Overleaf server and view the PDF beside your source. This extension is built on the source code of Overleaf Workshop, developed by iamhyc and the Overleaf Workshop contributors. Published by AstroJulio. Overleaf-VS Code is independently maintained and is not an official Overleaf product. Real-time collaboration and offline editing
Open the project and the documents you need while online before going offline. Live chat, remote updates, and server compilation require a connection. Offline editing lets you keep contributing to a shared project; collaborators receive those changes after reconnection. Get startedYou need desktop VS Code 1.80 or later, an Overleaf account with access to a project, and an internet connection for initial setup and server features. Server compilation does not require a local TeX installation. Compatible self-hosted Overleaf servers are also supported.
For another server, run Overleaf-VS Code: Add New Server before signing in. To create a project, right-click the signed-in server → New Project → Example Project. Edit, compile and readCompile-on-save is enabled by default. You can also compile with ⌘⌥B on macOS or Ctrl+Alt+B on Windows/Linux. Open the PDF with ⌘⌥V or Ctrl+Alt+V. Use Overleaf-VS Code: Jump to PDF to navigate from source to PDF; double-click the PDF to return to source. Overleaf-VS Code: Set Root Document and Overleaf-VS Code: Set Compiler change the server build settings. Collaborate in real time with shared project editing, Chat, and comments in Review synchronized with Overleaf while connected. Available actions depend on your server and project permissions. LaTeX completion, formatting, and project search are also included. Settings and local copiesSearch Overleaf-VS Code in Settings to adjust compile-on-save, the output folder, PDF colors, scrolling and page spreads. Right-click a project → Open Project Locally ... to work with a synchronized local copy. Server compilation still needs a connection. Offline local compilation requires LaTeX Workshop and a working local TeX installation. Source and licenseOverleaf-VS Code uses the GNU Affero General Public License v3.0. The installed extension includes the corresponding source for this exact version, build instructions and original license notices. Run Developer: Open Extensions Folder, open |