CoTeXEdit and sync Overleaf projects locally or over Remote-SSH. Compile LaTeX and review the resulting PDFs in VS Code. Get started
Upgrading to CoTeX 0.17CoTeX starts with fresh settings, browser profiles, server sign-ins, and local replica mappings. Keep any unsynced edits from the old version before upgrading. Close windows still syncing a previous replica, install both updates if using Remote-SSH, and run Developer: Reload Window in each affected VS Code window. If the Activity Bar still shows Semantic Researcher Overleaf, check the CoTeX version under SSH: Installed in the Extensions view, then reload the SSH window. Sign in again and use Select Project Folder Locally with a new empty folder. CoTeX detects folders with previous replica metadata and asks you to select a fresh folder. Old local project files can serve as a backup of unsynced edits. Apply those edits to the new copy after checking it against Overleaf. Custom settings and keybindings now use Features
How to Login in BrowserChoose Continue in browser from the login method list. The extension opens a Chrome, Edge, or Chromium window and navigates to the Overleaf project page, which shows the login page when needed. Sign in there as usual, including Google, SSO, or two-factor authentication. Once Overleaf reaches the project page, the extension reads the browser session cookies and completes the same cookie login flow automatically. Choose Use saved session to reopen a previous dedicated login, Remember a new session to start fresh, or Use once to discard the temporary profile after login. Failed fresh attempts are removed. Successful remembered profiles retain the Overleaf and Google/SSO sessions used inside them until cleared. On macOS, selecting Arc as the login executable lets you choose an installed Chrome, Edge, or Chromium browser for the dedicated login window. To forget a remembered profile, run CoTeX: Forget Browser Session from the Command Palette and select the server. In Remote windows, this forwards to the local Remote Pack; you can also run CoTeX Remote Pack: Forget Browser Session locally. Close all dedicated login browsers for that server in every VS Code window before clearing. Clearing removes the browser's remembered Overleaf/Google/SSO sessions and resets the consent choice; it does not log out the extension's existing API session or your normal browser. Use Logout separately for the extension session. Profiles are isolated by server URL (including self-hosted installation prefix), extension storage location, and browser executable. Changing the browser executable or switching between local and Remote Pack storage can require signing in once again. Profile directories use restrictive POSIX permissions where supported; on Windows they inherit the VS Code storage directory's ACLs. This is browser-profile storage, not a promise that all browser session data is encrypted. Login/clear operations in the same extension host are guarded; Chromium supplies cross-process profile locking, and launch failures never silently replace or delete a remembered profile. Clearing requires you to close browsers in other VS Code windows first. Login keeps Chromium's sandbox enabled and does not request Playwright's basic-password-store or mock-keychain defaults. Available protection still depends on the browser and OS; Linux needs a working configured keyring. If a root/headless Linux environment cannot run the sandboxed browser, use the local Remote Pack on a desktop rather than disabling the sandbox. In a local VS Code window, no extra extension is needed. In a VS Code Remote window, install CoTeX Remote Pack locally so the remote extension can ask your desktop VS Code to open the local browser. For VSIX installs, install the main extension in the remote window and the Remote Pack VSIX in the local desktop VS Code. If the browser is not found automatically, set How to Login with CookiesIn an already logged-in browser (Firefox for example): Choose Use session cookies to reuse that session manually without logging in again. Cookie input is masked, but the cookie is an account credential: copy only the Overleaf request header for the configured server, never Google cookies, and never share it in chat, logs, or screenshots.
CompatibilityThe following Overleaf (ShareLatex) Community Edition docker images provided on Docker Hub have been tested and verified to be compatible with this extension.
Source and licenseCoTeX is based on Overleaf Workshop and is distributed under the GNU Affero General Public License v3.0. The published 0.17.0 VSIX includes its source at |