u/RaresPurice

Intellisense no longer suggests files from other subfolders when using \input{}
▲ 6 r/LaTeX

Intellisense no longer suggests files from other subfolders when using \input{}

Yesterday I made a post about how a Latex Workshop update screwed my entire Latex setup in VSCode but I managed to get it to work again by installing an older version of Workshop (10.14.0 to be exact).

There is still a feature i haven't managed to restore and that is the suggestion of files from the entire workspace/subfolders other than the one I'm currently in. This was really useful and I'd love to have it back.

This is the desired outcome: files from other subfolders/the entire workspace being suggested for \input. Currently, vscode only suggests files from the same subfolder (for exemple, for this picture, it would only suggest files from the REF 06 folder, ignoring those from anywhere else in the workspace

I tried changing every single setting in order to restore it. I haven't had any results so far, but I don't think it's impossible since it previously worked for me in vscode and it's still working in Overleaf.

If anyone has any ideas on how to fix this, I would really appreciate any help! Thanks

reddit.com
u/RaresPurice — 3 days ago
▲ 5 r/LaTeX

Latex in VSCode has suddenly stopped working (+ troubles with \input)

Basically the title. Today I tried writing a new report for one of my labs only to notice that vscode refuses to compile that project or any other older project that previously worked perfectly fine.

I hadn't change anything to my settings, yet both my pc and laptop started having the same issue. What is weirder is that I used vscode to write a latex report with no problems last week, so im sure this change appeared almost overnight.

So far I've encountered the following:

  • spawn latexmk ENOENT errors
  • errors with \input -ing .tex files which are outside the root directory yet are still in the workspace (something i've done countless times before and had no problems with)
  • and now vscode is straight up refusing to compile any code, even the most basic one

i've tried everything i could think of/i found on the internet, even reinstalling strawberry perl and miktex, yet the issue still persists.

has anyone experienced anything remotely similar or has any idea what i could try? thanks

UPDATE: turns out, it really was a latex workshop update that somehow messed up my setup. i got my projects to recompile once i installed an older version of latex workshop.

the only problem left is that the autocomplete no longer suggests .tex files outside the subfolder im currently working in (now it only suggests files inside the subfolder im in), which is really obnoxious since i have many subfolders i work with and that featured streamlined my work flow

reddit.com
u/RaresPurice — 3 days ago