Giter VIP home page Giter VIP logo

iamhyc / overleaf-workshop Goto Github PK

View Code? Open in Web Editor NEW
427.0 3.0 10.0 14.74 MB

Open Overleaf/ShareLaTex projects in vscode, with full collaboration support.

Home Page: https://marketplace.visualstudio.com/items?itemName=iamhyc.overleaf-workshop

License: GNU Affero General Public License v3.0

TypeScript 92.38% JavaScript 2.85% CSS 0.09% HTML 0.09% Vue 4.57% Shell 0.02%
overleaf sharelatex vscode vscode-extension

overleaf-workshop's Introduction

Overleaf Workshop

GitHub Repo stars version Visual Studio Marketplace Installs updated release

Open Overleaf (ShareLatex) projects in VSCode, with full collaboration support.

User Guide

The full user guide is available at GitHub Wiki.

Features

Note

For SSO login or captcha enabled servers like https://www.overleaf.com, please use "Login with Cookies" method. For more details, please refer to How to Login with Cookies.

  • Login Server, Open Projects and Edit Files

  • On-the-fly Compiling and Previewing

    Ctrl+Alt+B to compile, Ctrl+Alt+V preview.

  • SyncTeX and Reverse SyncTeX

    Ctrl+Alt+J to jump to PDF. Double click on PDF to jump to source code

  • Chat with Collaborators

  • Open Project Locally, Compile/Preview with LaTeX-Workshop

How to Login with Cookies

In an already logged-in browser (Firefox for example):

  1. Open "Developer Tools" (usually by pressing F12) and switch to the "Network" tab;

    Then, navigate to the Overleaf main page (e.g., https://www.overleaf.com) in the address bar.

  2. Filter the listed items with /project and select the exact match.

  3. Check the "Cookie" under "Request Headers" of the selected item and copy its value to login.

    The format of the Cookie value would be like: overleaf_session2=... or sharelatex.sid=...

Compatibility

The following Overleaf (ShareLatex) Community Edition docker images provided on Docker Hub have been tested and verified to be compatible with this extension.

Development

Please refer to the development guidance in CONTRIBUTING.md

References

overleaf-workshop's People

Contributors

dependabot[bot] avatar iamhyc avatar mingbo-lee avatar qianrenli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

overleaf-workshop's Issues

[Feature Request]More pdf viewer bg color

Can there be more background color for PDF viewing? The yellow color may be too bright while the black color will make the horizontal and vertical lines invisible.
If you can let the user define the color freely, that will be better.
And can you add the feature to remember the color selected? Every time I open the pdf viewer, it starts at white bg.

Cannot remove server

Type: Bug

Since my session cookie expired, I wanted to sign in again to my Overleaf host. However, I could not remove the existing server. I reinstalled the extension entirely multiple times, but that did not resolve the issue.

Recording 2024-01-16 at 20 43 52

Extension version: 0.8.0
VS Code version: Code - Insiders 1.86.0-insider (2c8f29174a63b3ace3d00ad0028cdc7ed9853b8b, 2024-01-16T05:35:26.709Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 2611)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.71GB (2.28GB free)
Process Argv --crash-reporter-id b05b88e5-8894-4031-ae34-fa034ebddea9
Screen Reader yes
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscod805cf:30301675
vsaa593:30376534
py29gd2263:30784851
vsclangdf:30492506
c4g48928:30535728
a9j8j154:30646983
pythongtdpath:30726887
i26e3531:30792625
welcomedialog:30812478
pythonidxpt:30768918
pythonnoceb:30776497
asynctok:30898717
dsvsc013:30777762
dsvsc014:30777825
dsvsc015:30821418
pythontestfixt:30866404
pythonregdiag2:30926734
pyreplss1:30879911
pythonmypyd1:30859725
pythoncet0:30859736
pythontbext0:30879054
accentitlementst:30870582
dsvsc016:30879898
dsvsc017:30880771
dsvsc018:30880772

Changes are constantly reverted

As I'm creating a docment, the extension often doesn't send the changes that I made to the server, instead it rejects them, maing half of the changes disappear. I tried to work on this when using a stable network connection to ensure it wasn't caused by the previous bug.

404 problem

I used cookies to login but cannot load any of my projects.
Here is the code:
404: <title>Page Not Found - Overleaf, Online LaTeX Editor</title><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" id="ga-loader" data-ga-token="UA-112092690-1" data-ga-token-v4="G-RV4YBCCCWJ" data-cookie-domain=".overleaf.com">var gaSettings = document.querySelector('#ga-loader').dataset;
var gaid = gaSettings.gaTokenV4;
var gaToken = gaSettings.gaToken;
var cookieDomain = gaSettings.cookieDomain;
if(gaid) {
window.dataLayer = window.dataLayer || [];
function gtag(){
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', gaid, { 'anonymize_ip': true });
}
if (gaToken) {
window.ga = window.ga || function () {
(window.ga.q = window.ga.q || []).push(arguments);
}, window.ga.l = 1 * new Date();
}
var loadGA = window.olLoadGA = function() {
if (gaid) {
var s = document.createElement('script');
s.setAttribute('async', 'async');
s.setAttribute('src', 'https://www.googletagmanager.com/gtag/js?id=' + gaid);
document.querySelector('head').append(s);
}
if (gaToken) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', gaToken, cookieDomain.replace(/^./, ""));
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
}
};
// Check if consent given (features/cookie-banner)
var oaCookie = document.cookie.split('; ').find(function(cookie) {
return cookie.startsWith('oa=');
});
if(oaCookie) {
var oaCookieValue = oaCookie.split('=')[1];
if(oaCookieValue === '1') {
loadGA();
}
}
</script>Skip to content

Not found

Sorry, we can’t find the page you are looking for.

Home

We only use cookies for essential purposes and to improve your experience on our site. You can find out more in our cookie policy.
Essential cookies onlyAccept all cookies
×

Contact Us

Subject

Have you checked our knowledge base?

    Affected project URL (Optional)
    Message
    <textarea class="field text medium span8 form-control" aria-label="Message" name="message" required type="text"></textarea>
    Contact UsSending…

    Message sent! Our team will review it and reply by email.

    Email: [email protected]

    <script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/3296-1b55642e46033040fe17.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/3845-0fdb827b2e4b37653df2.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/8182-b454d482e496ceeb066e.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/5743-daaa197941c6f383952e.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/6029-79c5b2c3e56947add815.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/3297-4a9cff63ad93ebfeba51.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/8306-15645705d1df6b9f845c.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/8356-f66ace891655a7b8a416.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/7416-dfa90b869d89bd67bbd9.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/9517-97cb94c0951e6b11d0c5.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/5946-8031ab826fa5a11b229f.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/3989-6b559096c21ffb8ad3c9.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/86-4ad2287281bdcc0a63d7.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/4404-b17b00ae699480f4423a.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/6181-9293524a9326bfddb202.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/4559-ffd51ed88a65e170ce09.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/8684-72071de9de41c7ac47f9.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==" src="https://cdn.overleaf.com/js/marketing-6a70b51985aa54b8136a.js"></script><script type="text/javascript" nonce="SrnNwXz9SVS8HMK174OyjQ==">//- Look for bundle
    var cdnBlocked = typeof Frontend === 'undefined'
    //- Prevent loops
    var noCdnAlreadyInUrl = window.location.href.indexOf("nocdn=true") != -1
    if (cdnBlocked && !noCdnAlreadyInUrl && navigator.userAgent.indexOf("Googlebot") == -1) {
    //- Set query param, server will not set CDN url
    window.location.search += "&nocdn=true";
    }</script>

    PDF Viewer does not render Chinese Characters

    I would like to express my sincere gratitude for the hard work and dedication put into this plugin. However, I've encountered an issue with the current version, which is the inability to correctly display Chinese characters in the generated PDF. This poses a challenge for users like me who work primarily on projects written in Chinese. Therefore, I kindly request the addition of support for displaying Chinese characters in the PDF output.

    Latex Equation Completion Problem

    What Happen

    The buildin latex equation completion removes preceding characters when completing commands.

    How to Reproduce

    First enter $testtest$ and then type any command like $test\timtest$.

    Expect Performance

    The completion should be $test\timestest$

    Actual Performance

    The completion results in $t\timesest$ and est is gone.

    Overleaf Captcha issue

    What Happened

    Cannot login to host https://www.overleaf.com/

    Steps to reproduce

    1. Add host https://www.overleaf.com/
    2. Input Email and Password

    Error Message

    400: {"errorReason":"cannot_verify_user_not_robot","message":{"text":"Sorry, we could not verify that you are not a robot. Please check that Google reCAPTCHA is not being blocked by an ad blocker or firewall."}}

    Screenshot 2023-09-19 at 4 08 30 pm

    Versions 0.5.2 and below can access self-hosted sharelatex projects normally, but versions 0.5.3 and above cannot.

    Describe the bug

    When installing versions 0.5.3 and above, you can log in to self-hosted sharelatex normally through passwords and cookies, but you cannot enter the project.

    Expected behavior

    Ability to browse files in self-hosted sharelatex projects.

    How To Reproduce

    Install version 0.5.3 and above, add a self-hosted server and log in, then try to enter any of the listed projects to reproduce.

    Environment

    • Overleaf Workshop Extension version:[ 0.5.3 and above]
    • VS Code version: [1.85.1]
    • Overleaf Edition: Community, installed by docker pull sharelatex/sharelatex:4.2.0

    [Optional] Developer Logs

    Error: Error: unexpected server response (502)
    at SocketNamespace. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\api\socketio.js:70:19)
    at EventEmitter.emit [as $emit] (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\socket.io-client\lib\events.js:165:15)
    at Socket.publish (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\socket.io-client\lib\socket.js:103:19)
    at Socket.onError (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\socket.io-client\lib\socket.js:485:10)
    at WS.onError (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\socket.io-client\lib\transports\websocket.js:148:17)
    at websocket.onerror (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\socket.io-client\lib\transports\websocket.js:82:12)
    at WebSocket.onError (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\ws\lib\WebSocket.js:452:14)
    at WebSocket.emit (node:events:513:28)
    at ClientRequest.response (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\ws\lib\WebSocket.js:721:12)
    at Object.onceWrapper (node:events:628:26)
    at ClientRequest.emit (node:events:525:35)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:701:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at Socket.socketOnData (node:_http_client:542:22)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12)
    at readableAddChunk (node:internal/streams/readable:297:9)
    at Readable.push (node:internal/streams/readable:234:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
    rejected promise not handled within 1 second: TypeError: Invalid host defined options
    stack trace: TypeError: Invalid host defined options
    at Object. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\prettier\index.cjs:593:23)
    at o._compile (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
    at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
    at Module.load (node:internal/modules/cjs/loader:1171:32)
    at Module._load (node:internal/modules/cjs/loader:1012:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at c._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632)
    at n._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551)
    at t._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226)
    at Module.require (node:internal/modules/cjs/loader:1195:19)
    at h (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
    at Object. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\intellisense\texDocFormatter.js:5:18)
    at o._compile (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
    at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
    at Module.load (node:internal/modules/cjs/loader:1171:32)
    at Module._load (node:internal/modules/cjs/loader:1012:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at c._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632)
    at n._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551)
    at t._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226)
    at Module.require (node:internal/modules/cjs/loader:1195:19)
    at h (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
    at Object. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\intellisense\langIntellisenseProvider.js:9:27)
    at o._compile (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
    at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
    at Module.load (node:internal/modules/cjs/loader:1171:32)
    at Module._load (node:internal/modules/cjs/loader:1012:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at c._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632)
    at n._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551)
    at t._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226)
    at Module.require (node:internal/modules/cjs/loader:1195:19)
    at h (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
    at Object. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\extension.js:10:36)
    at o._compile (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
    at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
    at Module.load (node:internal/modules/cjs/loader:1171:32)
    at Module._load (node:internal/modules/cjs/loader:1012:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at c._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632)
    at n._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551)
    at t._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226)
    at Module.require (node:internal/modules/cjs/loader:1195:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Function.i [as __$__nodeRequire] (d:\Microsoft VS Code\resources\app\out\vs\loader.js:5:98)
    at f.vb (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:30730)
    at async Promise.all (index 0)
    [iamhyc.overleaf-workshop]Invalid host defined options
    workbench.desktop.main.js:sourcemap:2017 TypeError: Invalid host defined options
    at Object. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\prettier\index.cjs:593:23)
    at o._compile (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
    at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
    at Module.load (node:internal/modules/cjs/loader:1171:32)
    at Module._load (node:internal/modules/cjs/loader:1012:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at c._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632)
    at n._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551)
    at t._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226)
    at Module.require (node:internal/modules/cjs/loader:1195:19)
    at h (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
    at Object. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\intellisense\texDocFormatter.js:5:18)
    at o._compile (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
    at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
    at Module.load (node:internal/modules/cjs/loader:1171:32)
    at Module._load (node:internal/modules/cjs/loader:1012:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at c._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632)
    at n._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551)
    at t._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226)
    at Module.require (node:internal/modules/cjs/loader:1195:19)
    at h (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
    at Object. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\intellisense\langIntellisenseProvider.js:9:27)
    at o._compile (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
    at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
    at Module.load (node:internal/modules/cjs/loader:1171:32)
    at Module._load (node:internal/modules/cjs/loader:1012:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at c._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632)
    at n._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551)
    at t._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226)
    at Module.require (node:internal/modules/cjs/loader:1195:19)
    at h (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:647)
    at Object. (c:\Users\zy.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\extension.js:10:36)
    at o._compile (d:\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271)
    at Module._extensions..js (node:internal/modules/cjs/loader:1371:10)
    at Module.load (node:internal/modules/cjs/loader:1171:32)
    at Module._load (node:internal/modules/cjs/loader:1012:12)
    at f._load (node:electron/js2c/asar_bundle:2:13377)
    at c._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632)
    at n._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551)
    at t._load (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226)
    at Module.require (node:internal/modules/cjs/loader:1195:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Function.i [as __$__nodeRequire] (d:\Microsoft VS Code\resources\app\out\vs\loader.js:5:98)
    at f.vb (d:\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:30730)
    at async Promise.all (index 0)

    The local replica is not properly recognized by the plugin and fails to sync changes if `**/*.git` added to the ignored patterns

    Describe the bug

    when I closing it with ctrl+k f and start vscode from the directory of the replica folder, somehow the plugin can not properly recognize the replica

    • The cloud icon is gone
      image

    • The .overleaf folder is still in the folder, and I checked there's nothing wrong with the content of .overleaf/settings.json.

    • I can still see the indicator for my collaborator's cursor (actually me on the website). But it freezes and never moves. Here is the indicator I mentioned
      image

    • Local changes are not synced to overleaf automatically.

      • Manual syncing is impossible since here we lost our cloud icon. Even the "upload to overleaf" option in the Invisible mode is not accessible now.
        image
    • Also, it's impossible to open the replica again from plugin's Hosts view, because the path is somehow invalid
      image
      image

    • The only way to enter that replica I found till now, is to recreate a new replica at the same place, then everything is fine in the replica just created. Thankfully the plugin doesn't overwrite the folder (maybe because of the .overleaf existent there?)

    Expected behavior

    A clear and concise description of what you expected to happen.

    How To Reproduce

    Open a project and create a local replica. Close the replica in vscode and reopen it. Make changes to test syncing

    Environment

    • Overleaf Workshop Extension version: 0.9.1
    • VS Code version: 1.85.1
    • Overleaf Edition: Official

    [Optional] Developer Logs

    If applicable, please paste the logs inside the details section below.
    Please find the logs via: Title bar "Help" > "Toggle Developer Tools" > "Console".

    ...

    [Accessibility] Cannot trace collaborators' cursor location

    Type: Bug

    Thanks for creating a wonderful extension. This has a lot of potential for those who cannot use the original Overleaf UI. Blind people who use screen reader have some critical issues with the Overleaf's inaccessible web interface and its editor, and this kind of VSCode extension can offer an alternative and accessible workaround!

    Although the extension is usable itself, I was wondering if you could consider some more accessible features implemented in ms-vsliveshare.vsliveshare. For example, currently, there is no easy way for screen reader users to identify or follow collaborator's cursor location.

    It would be great if we had some features like teathering user's cursor with collaborator's cursor and jumping to a collaborator location.

    This will contribute to improving the accessibility of collabrotive editing a lot!

    Extension version: 0.5.1
    VS Code version: Code - Insiders 1.85.0-insider (c6b48c364dde70c12bf977f1da50acda0fd801e3, 2023-11-30T05:35:40.559Z)
    OS version: Windows_NT x64 10.0.22631
    Modes:

    System Info
    Item Value
    CPUs 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 2611)
    GPU Status 2d_canvas: enabled
    canvas_oop_rasterization: enabled_on
    direct_rendering_display_compositor: disabled_off_ok
    gpu_compositing: enabled
    multiple_raster_threads: enabled_on
    opengl: enabled_on
    rasterization: enabled
    raw_draw: disabled_off_ok
    video_decode: enabled
    video_encode: enabled
    vulkan: disabled_off
    webgl: enabled
    webgl2: enabled
    webgpu: enabled
    Load (avg) undefined
    Memory (System) 15.71GB (6.40GB free)
    Process Argv --crash-reporter-id b05b88e5-8894-4031-ae34-fa034ebddea9
    Screen Reader yes
    VM 0%
    A/B Experiments
    vsliv695:30137379
    vsins829:30139715
    vsliv368:30146709
    vsreu685:30147344
    python383cf:30185419
    vspor879:30202332
    vspor708:30202333
    vspor363:30204092
    vstes627:30244334
    vslsvsres303:30308271
    pythontb:30258533
    pythonptprofiler:30281269
    vshan820:30294714
    vscod805cf:30301675
    bridge0708:30335490
    bridge0723:30353136
    vsaa593:30376534
    pythonvs932:30404738
    py29gd2263:30784851
    vsclangdf:30492506
    c4g48928:30535728
    dsvsc012:30540252
    a9j8j154:30646983
    showlangstatbar:30737417
    fixshowwlkth:30771523
    showindicator:30805243
    pythongtdpath:30726887
    i26e3531:30792625
    welcomedialog:30812478
    pythonnosmt12:30779711
    pythonidxpt:30768918
    pythonnoceb:30776497
    asynctok:30898717
    dsvsc013:30777762
    dsvsc014:30777825
    pythonmpswarning:30901777
    dsvsc015:30821418
    pythontestfixt:30866404
    pythonregdiag2:30902439
    pyreplss1:30879911
    pythonmypyd1:30859725
    pythoncet0:30859736
    pythontbext0:30879054
    accentitlementst:30870582
    dsvsc016:30879898
    dsvsc017:30880771
    dsvsc018:30880772
    aa_t_chat:30882232
    
    

    I can't connect to the overleaf server using token ?

    Describe the bug

    A clear and concise description of what the bug is.

    Expected behavior

    A clear and concise description of what you expected to happen.

    How To Reproduce

    Detailed steps to reproduce the behavior.

    Environment

    • Overleaf Workshop Extension version: [e.g., 0.7.0]
    • VS Code version: [e.g. 1.85.0]
    • Overleaf Edition: Official / Community / Enterprise (Server Pro)

    [Optional] Developer Logs

    If applicable, please paste the logs inside the details section below.
    Please find the logs via: Title bar "Help" > "Toggle Developer Tools" > "Console".

    ...

    [Feature Request] Search should search all files

    Disclaimer

    Please make sure all the items below is checked (i.e., prefixed with "- [x]")

    • The request feature has not been addressed in the feature request list.
    • The design of the feature does not require detailed discussion, or existing discussion with drawn conclusion can be found in Discussions Area at: [paste the link here]

    Motivation

    Hi and thank you for this awesome project! I'm using it rn for my PhD thesis 👍 When going to the vscode search (ctrl+shift+f), only opened files are searched. It would be massively helpful if all files in the current project are searched.

    TeXCount failed. Please refer to LaTeX Utilities Output for details

    Type: Bug

    I use tecosaur.latex-utilities along with this extension. While the texcount works nicely on my local tex project, I see the following error message when I open any Overleaf projects in VSCode:

    TeXCount failed. Please refer to LaTeX Utilities Output for details.

    Below is my log output.

    [20:07:14] Initializing LaTeX Utilities.
    [20:07:14] Live Snippets Loaded
    [20:07:14] Completion Watcher Initialised
    [20:07:14] LaTeX Utilities Started
    [20:07:14] LaTeX Utilities version: 0.4.10
    [20:07:18] onDidChangeActiveTextEditor_tex_wordcounter
    [20:07:18] TexCount args: -merge,-brief
    [20:07:18] Cannot count words: spawn texcount ENOENT, undefined
    [20:08:21] onDidChangeActiveTextEditor_tex_wordcounter
    [20:08:23] onDidChangeActiveTextEditor_tex_wordcounter
    [20:08:23] TexCount args: -merge,-brief
    [20:08:23] Cannot count words: spawn texcount ENOENT, undefined
    [20:08:37] onDidChangeActiveTextEditor_tex_wordcounter
    [20:08:39] onDidChangeActiveTextEditor_tex_wordcounter
    [20:08:39] TexCount args: -merge,-brief
    [20:08:39] Cannot count words: spawn texcount ENOENT, undefined
    [20:08:48] onDidChangeActiveTextEditor_tex_wordcounter
    [20:08:57] onDidChangeActiveTextEditor_tex_wordcounter
    [20:08:57] TexCount args: -merge,-brief
    [20:08:57] Cannot count words: spawn texcount ENOENT, undefined
    [20:08:58] onDidChangeActiveTextEditor_tex_wordcounter
    [20:09:09] onDidChangeActiveTextEditor_tex_wordcounter
    [20:09:09] TexCount args: -merge,-brief
    [20:09:09] Cannot count words: spawn texcount ENOENT, undefined
    [20:09:56] onDidChangeActiveTextEditor_tex_wordcounter
    [20:09:58] onDidChangeActiveTextEditor_tex_wordcounter
    [20:09:58] TexCount args: -merge,-brief
    [20:09:58] Cannot count words: spawn texcount ENOENT, undefined
    [20:09:59] onDidChangeActiveTextEditor_tex_wordcounter
    [20:10:01] onDidChangeActiveTextEditor_tex_wordcounter
    [20:10:01] TexCount args: -merge,-brief
    [20:10:01] Cannot count words: spawn texcount ENOENT, undefined
    [20:10:13] onDidChangeActiveTextEditor_tex_wordcounter
    [20:12:00] onDidChangeActiveTextEditor_tex_wordcounter
    [20:12:00] TexCount args: -merge,-brief
    [20:12:00] Cannot count words: spawn texcount ENOENT, undefined
    [20:12:01] onDidChangeActiveTextEditor_tex_wordcounter
    [20:12:45] onDidChangeActiveTextEditor_tex_wordcounter
    [20:12:45] TexCount args: -merge,-brief
    [20:12:45] Cannot count words: spawn texcount ENOENT, undefined
    [20:12:46] onDidChangeActiveTextEditor_tex_wordcounter
    [20:13:02] onDidChangeActiveTextEditor_tex_wordcounter
    [20:13:02] TexCount args: -merge,-brief
    [20:13:02] Cannot count words: spawn texcount ENOENT, undefined
    [20:13:09] onDidChangeActiveTextEditor_tex_wordcounter
    [20:13:23] onDidChangeActiveTextEditor_tex_wordcounter
    [20:13:23] TexCount args: -merge,-brief
    [20:13:23] Cannot count words: spawn texcount ENOENT, undefined
    [20:13:30] onDidChangeActiveTextEditor_tex_wordcounter
    [20:14:12] onDidChangeActiveTextEditor_tex_wordcounter
    [20:14:12] TexCount args: -merge,-brief
    [20:14:12] Cannot count words: spawn texcount ENOENT, undefined
    [20:14:12] onDidChangeActiveTextEditor_tex_wordcounter
    [20:14:30] onDidChangeActiveTextEditor_tex_wordcounter
    [20:14:30] TexCount args: -merge,-brief
    [20:14:30] Cannot count words: spawn texcount ENOENT, undefined
    [20:14:31] onDidChangeActiveTextEditor_tex_wordcounter
    [20:14:33] onDidChangeActiveTextEditor_tex_wordcounter
    [20:14:33] TexCount args: -merge,-brief
    [20:14:33] Cannot count words: spawn texcount ENOENT, undefined
    [20:15:11] onDidChangeActiveTextEditor_tex_wordcounter
    [20:15:25] onDidChangeActiveTextEditor_tex_wordcounter
    [20:15:25] TexCount args: -merge,-brief
    [20:15:25] Cannot count words: spawn texcount ENOENT, undefined
    [20:15:26] onDidChangeActiveTextEditor_tex_wordcounter

    Extension version: 0.6.1
    VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
    OS version: Windows_NT x64 10.0.22631
    Modes:

    System Info
    Item Value
    CPUs 11th Gen Intel(R) Core(TM) i5-1145G7 @ 2.60GHz (8 x 2611)
    GPU Status 2d_canvas: enabled
    canvas_oop_rasterization: enabled_on
    direct_rendering_display_compositor: disabled_off_ok
    gpu_compositing: enabled
    multiple_raster_threads: enabled_on
    opengl: enabled_on
    rasterization: enabled
    raw_draw: disabled_off_ok
    video_decode: enabled
    video_encode: enabled
    vulkan: disabled_off
    webgl: enabled
    webgl2: enabled
    webgpu: enabled
    Load (avg) undefined
    Memory (System) 15.71GB (6.18GB free)
    Process Argv . --crash-reporter-id 5c7bafb6-29df-4d8b-b617-c8de21a094b0
    Screen Reader yes
    VM 0%
    A/B Experiments
    vsliv368:30146709
    vsreu685:30147344
    python383cf:30185419
    vspor879:30202332
    vspor708:30202333
    vspor363:30204092
    vstes627:30244334
    vslsvsres303:30308271
    vserr242:30382549
    pythontb:30283811
    vsjup518:30340749
    pythonptprofiler:30281270
    vshan820:30294714
    vstes263:30335439
    vscod805cf:30301675
    binariesv615:30325510
    bridge0708:30335490
    bridge0723:30353136
    vsaa593:30376534
    pythonvs932:30410667
    py29gd2263:30899288
    vsclangdc:30486549
    c4g48928:30535728
    dsvsc012:30540252
    azure-dev_surveyone:30548225
    2e4cg342:30602488
    89544117:30613380
    a9j8j154:30646983
    showlangstatbar:30737416
    fixshowwlkth:30771522
    showindicator:30805244
    pythongtdpath:30769146
    i26e3531:30792625
    welcomedialog:30910333
    pythonidxpt:30866567
    pythonnoceb:30805159
    asynctok:30898717
    dsvsc013:30795093
    dsvsc014:30804076
    dsvsc015:30845448
    pythontestfixt:30902429
    pyreplss1:30897532
    pythonmypyd1:30879173
    pythoncet0:30885854
    pythontbext0:30879054
    accentitlementst:30887150
    dsvsc016:30899300
    dsvsc017:30899301
    dsvsc018:30899302
    aa_t_chat:30882232
    dsvsc019:30917259
    cp7184t:30925682
    
    

    Cannot logout from server, or login into another one

              I wont guess your situation anymore. Do as follows:
    
    • right click on all the servers and remove them
    • there will always be a default unlogged-in server once you have the list emptied, dont panic
    • browse the home page of overleaf in browser, and extract the cookie
    • login with the cookie in the extension

    if you still fail and want to reset the extension, please seek for information on how to reset vscode globalStorage on internet.

    Originally posted by @iamhyc in #65 (comment)

    socketio reconnection problem

    Hi, I found that when I use cookie to login in overleaf.com to edit my projects, it will be disconnected from overleaf.com after a while(the new edits will not be synchronized to remote). I have to restart the vscode to continue... (

    Could not see the projects in overleaf.com

    I followed the instructions of cookies login to overleaf.com. I can see no project, neither can I create any project. I get the error:
    404:Page not found-overleaf, online ...

    [Invisible mode//Local replica] Faill to initiate invisible mode in a replica with too many files

    Describe the bug

    When entering invisible mode, the plugin push and pull files in the directory. As a side effect, the files are modfied.

    Files are modified

    In DevTools: files are pushed and pulled
    In DevTools

    In overleaf history: files are modified (deleted and then created)

    On overleaf

    And on my pc, in the folder pic, files are all modified

    On overleaf

    Some files are broken

    And in the end, one could see from the pic above that some files are empty
    But no worries. It can be all recovered by simply reopening the replica if the replica hasn't been synced yet.

    Connection Limit

    There is a connection limit set by overleaf, which interrupts the inivisible mode and cause the problem:

    image
    Once we reach the limit, any further push/pull request will be refused and the initialization of invisible mode will be disrupted.

    What makes it even worse is that when disconnected, the plugin seems to keep requesting new connection to overleaf.

    Expected behavior

    The invisible mode should work in a way similar to the non-visible mode in the sense that local files should not be touched by the plugin.

    How To Reproduce

    Create a replica with a lot of files. I cannot give an exact number. But for my problematic replica, there are 41 PDFs in the pic folder shown above.

    Environment

    • Overleaf Workshop Extension version: 0..9.2
    • VS Code version: 1.85.1
    • Overleaf Edition: Official

    [Accessibility] Consider using list view for Chat for improved accessibility

    Type: Feature Request

    While the current Chat widget is usable with screen reader, containing the Chat history within list view or tree view would be more accessible to keyboard-only users.

    GitHub.copilot-chat provides a really plasant navigation experience for both keyboard-only and screen reader users.

    Extension version: 0.5.3
    VS Code version: Code - Insiders 1.85.0-insider (94a3d7bac770b43ce97e9685715bef1a60d1a759, 2023-12-01T19:00:37.339Z)
    OS version: Windows_NT x64 10.0.22631
    Modes:

    [Feature+Request] Support the Review Panel in Overleaf

    Disclaimer

    Please make sure all the items below is checked (i.e., prefixed with "- [x]")

    • The request feature has not been addressed in the feature request list.
    • The design of the feature does not require detailed discussion, or existing discussion with drawn conclusion can be found in Discussions Area at: #64

    Motivation

    Please give strong enough reason(s) why the feature is demanded.

    • When working on the latex document with multiple collaborators on Overleaf, they usually provide many comments directly on the Review Panel of Overleaf. Since the extension does not display these infos in VScode, we have to open the Overleaf website separately to view and address their comments, which is not convenient. It would be helpful for the extension to support the review panel so that we can directly address the comments in VScode.

    Feature Description

    A clear and concise description of what you want to happen under what circumstance.

    • Fetch the comments from the Review Panel and provide a clear visualization of these information in VScode.
    • In the latex document, the commented/added/deleted section can be highlighted with colors and labeled with some icon besides the line number.
    • The comments can be displayed along with the corresponding commented section. A simple implementation would be like a "spell check feature" with comments listed in the problem panel.
    • Ideally, we can also address the comments and reply to the collaborators directly from VScode.

    [Optional] Additional context

    Please strike out any inappropriate items below. If you are not aware of the difference, please ignore this section.

    • Applicable Overleaf Edition: Official / Community / Enterprise (Server Pro)
    • Applicable Extension Range: Desktop Extension / Web Extension

    [Feature Request] Support Change Main Document

    Disclaimer

    Please make sure all the items below is checked (i.e., prefixed with "- [x]")

    • The request feature has not been addressed in the feature request list.
    • The design of the feature does not require detailed discussion, or existing discussion with drawn conclusion can be found in Discussions Area at: [paste the link here]

    Motivation

    Please give strong enough reason(s) why the feature is demanded.

    • Sometimes people may have multiple entry TeX files with standalone document environment and need to switch between them often.

    Feature Description

    A clear and concise description of what you want to happen under what circumstance.

    • Support setup different main document for the local client temporarily, just like in Overleaf Web Editor.

    [Optional] Additional context

    Please strike out any inappropriate items below. If you are not aware of the difference, please ignore this section.

    • Applicable Overleaf Edition: Official / Community / Enterprise (Server Pro)
    • Applicable Extension Range: Desktop Extension / Web Extension

    Connection lost

    My old session cookie expired and I tried to use a new cookie looks like this GCLB=[???]; oa=0; overleaf_session2=s%[???].
    The project list can be loaded. But when I open any project, the page will just keep loading and notifying connection lost.

    [Feature Request] Open PDF in an external browser

    Type: Feature Request

    For screen reader users, PDF viewer opened in an external browser provides more accessible controls than VSCode web view. It would be great if there was a setting that allows users to choose the location of the PDF viewer. I would love to have the compiled PDF opened in my default browser and make it keep watching any updates.

    Extension version: 0.5.4
    VS Code version: Code - Insiders 1.86.0-insider (789c802e75813bfb38ff2e13e4b322bd7e90124b, 2023-12-14T05:36:50.991Z)
    OS version: Windows_NT x64 10.0.22631
    Modes:

    [Feature Request] Add auto-completion popups (IntelliSense) for references in .bib files when typing \cite{...}

    Motivation

    Please give strong enough reason(s) why the feature is demanded.

    • An equivalent of this feature is available in Overleaf Webpage!

    Feature Description

    A clear and concise description of what you want to happen under what circumstance.

    • Would it be possible to add an auto-completion popup when using the command \cite{...}, loading references from .bib files contained in the project?

    Thanks!

    Unexpected input-lag on intel-based Mac

    Describe the bug

    On Intel-based Mac, input has unbearable lag. Actually, on my M-based mac, it is not as fast as expect either but it doesn't affect work efficiency. I've tested that edit plain text in VSCode does not have the same problem.

    Environment

    • Overleaf Workshop Extension version: 0.8.1
    • VS Code version: 1.85.1
    • Overleaf Edition: Official (Server Pro)

    [Feature Request] Plugin-support - Problems with virtual filesystem

    Hi,

    this plugin is great! Me and my team are very amazed.

    I would like to ask, if its possible to enable more plugin-compatibility? The most plugins we use are not suitible for files on a virtal filesystem.
    The most important for us is a autoformatter, like provided in the common LaTeX-workshop. But we use other extentions as well, wich have the same incompatibility.

    best wishes,
    Lars

    [Feature Request] Allow to Enable Compile and Preview when Open in Local Folder

    Disclaimer

    Please make sure all the items below is checked (i.e., prefixed with "- [x]")

    • The request feature has not been addressed in the feature request list.
    • The design of the feature does not require detailed discussion, or existing discussion with drawn conclusion can be found in Discussions Area at: [paste the link here]

    Motivation

    Please give strong enough reason(s) why the feature is demanded.

    • Sometimes people may prefer local folder only to have more extensions available, but do not have local compile environment.

    Feature Description

    A clear and concise description of what you want to happen under what circumstance.

    • Compile and Preview activate together via the context value overleaf-workshop.activateCompile, to provide the following features:
      compile, preview, (reverse) SyncTex
    • The feature is enabled/disabled via the "enableCompileNPreview" key in .overleaf/settings.json file. The absence of the key means "false" by default.
    • The default shortcuts of compile/preview/jumpToPDF would collide with "LaTeX-Workshop"
    • The other features "auto-completion, spell check, code format, symbol provider" are not provided. The users should refer to other extensions (like texLint, code spell check, LaTeX-Workshop (with careful configuration), etc.

    [Optional] Additional context

    Please strike out any inappropriate items below. If you are not aware of the difference, please ignore this section.

    • Applicable Overleaf Edition: Official / Community / Enterprise (Server Pro)
    • Applicable Extension Range: Desktop Extension / Web Extension

    How can I loggin my latex?

    I'm so delighted for this extension that I have been looking forward to.But I can't understand the reference docs. I don't know how can i obtain the overleaf server address? Can you offer a detail? Best wish!

    [Feature request] Login to Overleaf via webview in vscode?

    Hi,

    Thank you for this wonderful plugin!
    I was just wondering if perhaps you could embed a webview in the plugin somewhere and point to overleaf.com, so that when the user logs in from vscode you can fetch the cookies directly?
    That will save some clicks whenever users need to re-login.

    Thank you again :)

    Cannot Open Local PDF Files After Extension Installation: `The editor could not be opened due to an unexpected error: Invalid uri scheme`

    Type: Bug

    1. Environment Setup: Ensure Visual Studio Code is installed with the latest updates. Install the "Overleaf Workshop" extension.
    2. Attempt to Open PDF: Try to open any local PDF file by navigating to File > Open File and selecting a PDF document or by clicking on a PDF file in the Explorer pane within VSCode.
    3. Error Encounter: Observe the error message that appears in VSCode, preventing the PDF from opening. The error message is as follows:
    The editor could not be opened due to an unexpected error: Invalid uri scheme: file://*.pdf
    

    Expected Behavior

    Upon attempting to open a PDF file, the expected behavior is for VSCode or another installed extension (such as LaTeX Workshop) that supports PDF rendering to handle the file, allowing it to be viewed either as a rendered document or in its binary format.

    Actual Behavior

    Instead of allowing another extension or VSCode itself to open the PDF file, the installation of "Overleaf Workshop" seems to intercept the process and attempts to open the PDF file, resulting in an error due to an invalid URI scheme. This prevents the file from being opened at all, either as binary or rendered content.

    Suggested Resolution

    It would be beneficial if "Overleaf Workshop" could be updated to exclude handling of local PDF files with the URI scheme file://*.pdf, allowing VSCode or other extensions designed for PDF viewing to manage these files. This approach would ensure compatibility and prevent disruptions in workflow for users who regularly work with PDF files within VSCode.

    Extension version: 0.9.0
    VS Code version: Code 1.86.1 (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:08:57.920Z)
    OS version: Darwin arm64 23.3.0
    Modes:

    System Info
    Item Value
    CPUs Apple M1 Pro (10 x 24)
    GPU Status 2d_canvas: enabled
    canvas_oop_rasterization: enabled_on
    direct_rendering_display_compositor: disabled_off_ok
    gpu_compositing: enabled
    multiple_raster_threads: enabled_on
    opengl: enabled_on
    rasterization: enabled
    raw_draw: disabled_off_ok
    skia_graphite: disabled_off
    video_decode: enabled
    video_encode: enabled
    webgl: enabled
    webgl2: enabled
    webgpu: enabled
    Memory (System) 32.00GB (3.79GB free)
    Process Argv
    VM 0%

    [Feature Request] Make failing log message more prominent

    Disclaimer

    • The request feature has not been addressed in the feature request list.
    • The design of the feature does not require detailed discussion, or existing discussion with drawn conclusion can be found in Discussions Area at: [paste the link here]

    Motivation

    When compiling fails, it is hard to see the log message right away. It is highlighted in the code with the squiggly lines (which is cool), but when I do not know where it fails it is hard to see. So right now I usually go to overleaf.com and look at the website.

    Feature Description

    The suggested feature would make this more prominent. One approach would be to add the logfile to the Output view of vscode.

    How to do On-the-fly Compiling?

    Thanks for creating a great tool!

    I know that I can access the Overleaf server and write and chat, but I don't know the details of the commands (shortcuts) to compile and view the PDF on the VSCode, so please help!

    I also know that it is possible to copy the PDF locally, but I would like to know how to do that.

    [Feature Request]Use with LaTeX workshop

    This extension has many wonderful features, but I'm familiar with using the LaTeX Workshop extension with VSCode, and local compiling and previewing is much faster. Is it possible to restrict the effect of this extension to only syncing the local file to the specific Overleaf project synchronously?

    Currently, it can be done by editing locally-> syncing to the GitHub repo-> importing repo change to the Overleaf project, which is not so convenient.

    Change language of spell check or disable it.

    Hi! I'm trying this new extension for working with overleaf, but I found that as I'm writing in Spanish, most of my documents are underlined in blue due to spell check being in English. Is there any way I can change it's language or disable it? I can't find any settings for this extension.

    Cheers.

    [Proposal] Overleaf Invisible Mode

    When entering invisible mode, no socketio (websocket) is used any more.

    About Proposal

    The proposal issues are created to track the design and development of features to be included in the future releases.
    So, only contributors are allowed to create the proposal issues. Any comments or suggestions are welcomed.

    Motivation

    • The sync is still possible via REST API and websocket is never necessary;
    • Your account icon will not appear on other users' view, which makes you invisiable;

    Drawbacks

    • You cannot see other collaborators' cursors;
    • You cannot rename/delete files or folders created from other collaborators until you reload the project, or edit the file once;
    • Your local update is always force-upload and cause online collaborators out-of-sync;

      collaborators using the extension will not be affected.

    • The remote update of settings "compiler or spell language" will not be updated locally;

    TODO

    • invisible mode interface
      • add socketioAlt alternative connection scheme;
      • use EventEmitter to replace socketio events;
    • intellisense & compiler: periodically fetch project settings (no api)
    • collaboration:
      • display users with active edit within last 3 minutes;
      • periodically fetch new message;
    • core:
      • periodically fetch file tree diff to sync file/project updates;
      • when edit file: mark the staged status, not upload until manually trigger;
      • when upload file: firstly make sure the latest sync is fetched and merged, then upload;
    • invisible mode integration
      • add "enter/exit invisible mode" settings entry on status bar;
      • when extension deactivate: notify any existing staged cache (not planned now)

    Please add a command to focus in chat

    Type: Feature Request

    Currently, there is no way to focus in chat by using the VSCode command palette. For keyboard-only users, please add a command to jump to the chat area.

    Extension version: 0.5.1
    VS Code version: Code - Insiders 1.85.0-insider (c6b48c364dde70c12bf977f1da50acda0fd801e3, 2023-11-30T05:35:40.559Z)
    OS version: Windows_NT x64 10.0.22631
    Modes:

    Local Replica Does Not Work Properly

    Describe the bug

    A clear and concise description of what the bug is.

    • fileRefs are force uploaded at the beginning
    • file force update is consisted of two actions, "delete-then-update", which is handled properly

    Expected behavior

    A clear and concise description of what you expected to happen.

    • force upload should not happen at start
    • should differ "delete" and "delete-then-update" action, maybe via defer delete

    How To Reproduce

    Detailed steps to reproduce the behavior.
    Always happens.

    Environment

    • Overleaf Workshop Extension version: 0.8.1
    • VS Code version: 1.85.2
    • Overleaf Edition: Community

    [Optional] Developer Logs

    If applicable, please paste the logs inside the details section below.
    Please find the logs via: Title bar "Help" > "Toggle Developer Tools" > "Console".

    "Logout from server" doesn't do anything

    Describe the bug

    A clear and concise description of what the bug is.
    image
    image

    Cannot logout from server, cannot add a new server, cannot connect to a server, removing cache in "User/.vscode\extensions\iamhyc.overleaf-workshop-0.7.1" doesnt help

    Expected behavior

    A clear and concise description of what you expected to happen.

    How To Reproduce

    Detailed steps to reproduce the behavior.

    Environment

    • Overleaf Workshop Extension version: [e.g., 0.7.0]
    • VS Code version: [e.g. 1.85.0]
    • Overleaf Edition: Official / Community / Enterprise (Server Pro)

    [Optional] Developer Logs

    If applicable, please paste the logs inside the details section below.
    Please find the logs via: Title bar "Help" > "Toggle Developer Tools" > "Console".

    log.ts:431 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'registerIssueDataProvider' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned. log.ts:421 INFO Started local extension host with pid 3988. log.ts:421 INFO [perf] Render performance baseline is 289ms webviewElement.ts:513 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. mountTo @ webviewElement.ts:513 log.ts:441 ERR Error: ENOENT: no such file or directory, stat 'c:\Users\matsz\AppData\Roaming\Code\logs\20240105T140816\window3\exthost\output_logging_20240105T182853\4-G-Code.log': EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat 'c:\Users\matsz\AppData\Roaming\Code\logs\20240105T140816\window3\exthost\output_logging_20240105T182853\4-G-Code.log' at c.create (C:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:54:3486) at w (C:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:54:3600) at i.fb (C:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:59:35594) at i.stat (C:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\electron-main\main.js:59:28040) console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: Invalid host defined options w @ console.ts:137 console.ts:137 [Extension Host] stack trace: TypeError: Invalid host defined options at Object. (c:\Users\matsz\.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\prettier\index.cjs:593:23) at o._compile (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271) at Module._extensions..js (node:internal/modules/cjs/loader:1371:10) at Module.load (node:internal/modules/cjs/loader:1171:32) at Module._load (node:internal/modules/cjs/loader:1012:12) at f._load (node:electron/js2c/asar_bundle:2:13377) at c._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632) at n._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551) at t._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226) at Module.require (node:internal/modules/cjs/loader:1195:19) at h (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647) at Object. (c:\Users\matsz\.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\intellisense\texDocFormatter.js:5:18) at o._compile (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271) at Module._extensions..js (node:internal/modules/cjs/loader:1371:10) at Module.load (node:internal/modules/cjs/loader:1171:32) at Module._load (node:internal/modules/cjs/loader:1012:12) at f._load (node:electron/js2c/asar_bundle:2:13377) at c._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632) at n._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551) at t._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226) at Module.require (node:internal/modules/cjs/loader:1195:19) at h (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647) at Object. (c:\Users\matsz\.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\intellisense\langIntellisenseProvider.js:9:27) at o._compile (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271) at Module._extensions..js (node:internal/modules/cjs/loader:1371:10) at Module.load (node:internal/modules/cjs/loader:1171:32) at Module._load (node:internal/modules/cjs/loader:1012:12) at f._load (node:electron/js2c/asar_bundle:2:13377) at c._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632) at n._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551) at t._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226) at Module.require (node:internal/modules/cjs/loader:1195:19) at h (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647) at Object. (c:\Users\matsz\.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\extension.js:10:36) at o._compile (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271) at Module._extensions..js (node:internal/modules/cjs/loader:1371:10) at Module.load (node:internal/modules/cjs/loader:1171:32) at Module._load (node:internal/modules/cjs/loader:1012:12) at f._load (node:electron/js2c/asar_bundle:2:13377) at c._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632) at n._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551) at t._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226) at Module.require (node:internal/modules/cjs/loader:1195:19) at require (node:internal/modules/cjs/helpers:110:18) at Function.i [as __$__nodeRequire] (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:5:98) at f.vb (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:30730) at async Promise.all (index 0) w @ console.ts:137 mainThreadExtensionService.ts:81 [iamhyc.overleaf-workshop]Invalid host defined options $onExtensionRuntimeError @ mainThreadExtensionService.ts:81 mainThreadExtensionService.ts:82 TypeError: Invalid host defined options at Object. (c:\Users\matsz\.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\node_modules\prettier\index.cjs:593:23) at o._compile (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271) at Module._extensions..js (node:internal/modules/cjs/loader:1371:10) at Module.load (node:internal/modules/cjs/loader:1171:32) at Module._load (node:internal/modules/cjs/loader:1012:12) at f._load (node:electron/js2c/asar_bundle:2:13377) at c._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632) at n._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551) at t._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226) at Module.require (node:internal/modules/cjs/loader:1195:19) at h (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647) at Object. (c:\Users\matsz\.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\intellisense\texDocFormatter.js:5:18) at o._compile (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271) at Module._extensions..js (node:internal/modules/cjs/loader:1371:10) at Module.load (node:internal/modules/cjs/loader:1171:32) at Module._load (node:internal/modules/cjs/loader:1012:12) at f._load (node:electron/js2c/asar_bundle:2:13377) at c._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632) at n._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551) at t._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226) at Module.require (node:internal/modules/cjs/loader:1195:19) at h (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647) at Object. (c:\Users\matsz\.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\intellisense\langIntellisenseProvider.js:9:27) at o._compile (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271) at Module._extensions..js (node:internal/modules/cjs/loader:1371:10) at Module.load (node:internal/modules/cjs/loader:1171:32) at Module._load (node:internal/modules/cjs/loader:1012:12) at f._load (node:electron/js2c/asar_bundle:2:13377) at c._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632) at n._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551) at t._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226) at Module.require (node:internal/modules/cjs/loader:1195:19) at h (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:647) at Object. (c:\Users\matsz\.vscode\extensions\iamhyc.overleaf-workshop-0.7.1\out\extension.js:10:36) at o._compile (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:4:1271) at Module._extensions..js (node:internal/modules/cjs/loader:1371:10) at Module.load (node:internal/modules/cjs/loader:1171:32) at Module._load (node:internal/modules/cjs/loader:1012:12) at f._load (node:electron/js2c/asar_bundle:2:13377) at c._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:5632) at n._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:29551) at t._load (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:133:35226) at Module.require (node:internal/modules/cjs/loader:1195:19) at require (node:internal/modules/cjs/helpers:110:18) at Function.i [as __$__nodeRequire] (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\loader.js:5:98) at f.vb (c:\Users\matsz\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:168:30730) at async Promise.all (index 0) $onExtensionRuntimeError @ mainThreadExtensionService.ts:82 3notificationsAlerts.ts:42 302: Found. Redirecting to /login? c @ notificationsAlerts.ts:42 webviewElement.ts:513 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. mountTo @ webviewElement.ts:513

    [Feature Request] Manual compile selection

    Disclaimer

    Please make sure all the items below is checked (i.e., prefixed with "- [x]")

    • [x ] The request feature has not been addressed in the feature request list.
    • [x ] The design of the feature does not require detailed discussion, or existing discussion with drawn conclusion can be found in Discussions Area at: [paste the link here]

    Motivation

    Please give strong enough reason(s) why the feature is demanded.

    • The current compile model is auto compile immediately after any changes. But overleaf.com compiles very slowly. I often meet the problem that the compiled result is the old one but the new one will not compile. For example, when I type "How are you", it is likely to have the compiled result with "How", but w/o "are you" after a long waiting, which is annoying. Besides, the overleaf.com often fails because of frequently re-compile request.

    Feature Description

    A clear and concise description of what you want to happen under what circumstance.

    • Enable manual compile selection, such as compile after "ctrl+s" which may be better. This way, the overleaf will only compile when the user needs it.

    [Optional] Additional context

    Please strike out any inappropriate items below. If you are not aware of the difference, please ignore this section.

    • Applicable Overleaf Edition: Official / Community / Enterprise (Server Pro)
    • Applicable Extension Range: Desktop Extension / Web Extension

    Cannot get the project list

    I am an Overleaf Premium user.
    I can log in Overleaf on VSCode, but I cannot get the project list as attached figure.

    cannot_open

    [Accessibility] Please add aria alert for "No online Collaborators" message

    Type: Feature Request

    When there is no collaborator in the current Overleaf session and users execute Overleaf Workshop: Jump to Collaborator ... command, they will see the following message:

    No online Collaborators

    However, this message is not auto-announced to screen reader because it does not have alert attribute. I think the easiest solution would be adding aria-live="assertive" to the message div.

    Extension version: 0.5.3
    VS Code version: Code - Insiders 1.85.0-insider (94a3d7bac770b43ce97e9685715bef1a60d1a759, 2023-12-01T19:00:37.339Z)
    OS version: Windows_NT x64 10.0.22631
    Modes:

    `https://www.overleaf.com` Experimental Support

    Dear all,

    We currently have experimental support for overleaf.com from version v0.2.5, via Cookies-based login.
    Please use https://www.overleaf.com as the server address and then login with cookies.

    The functionality may be unstable at current point, and your feedback is keenly needed.
    Please feel free to post any related problems under this thread.


    Milestones:

    • Both overleaf_session2 and GCLB Cookie items are necessary for login, or it will raise "client not handshaken" error;
      The GCLB item should be automatically updated during the phase of socket.io handshake, but it seems working incorrectly in version v0.2.5
      should be fixed in v0.2.6. Thanks to the contribution from @QianrenLi in #20 !
    • Since version v0.3.2:
      • there will be a default overleaf.com server when the server list is empty;
      • password-based login is disabled for overleaf.com;
      • a prompt will show when choose cookies-based login;
    • Untill version v0.4.1, I have heard no report about login for a long time. This functionality (cookie-based login) is considered workable somehow and this issue is closed now.

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.