rzukic / zed-latex

28 stars 4 forks source link

Spamming "reload workspace" triggers a GitHub rate limit, stopping `texlab` launch #32

Open lnay opened 2 hours ago

lnay commented 2 hours ago

If texlab is not installed and on PATH, with the user relying on the extension to download the latest release from GitHub, there is a potential for network errors like the one described in the title. Currently, the extension returns the network error, but it could instead check if there is already a release that was downloaded before. In this case it should be used as a backup instead of failing to launch any version of texlab.

lnay commented 2 hours ago

Replace the ? here with the fallback described above.