[x] The issue is not related to compiling a document, or the document can be successfully compiled in the OS terminal but not in Visual Studio Code with this extension.
Environment*
Operating System: Windows 10
Visual Studio Code Version: 1.77.3
LaTeX Workshop Version: 9.8.2
TeX Distribution Version: MiKTeX 22.12
The Issue*
The SyncTeX from cursor command doesn't work in multi-file latex documents created with the subfiles package.
Reproduction Steps
Create a multi-file latex document using the subfiles package.
Compile the root file.
Open a subfile
Click on the "View LaTeX PDF file" button and select "Default root file" to view the root PDF file in a side panel
execute the SyncTeX from cursor command
Actual Behavior
nothing happens.
Expected Behavior
I would expect the root PDF view to jump to the cursor location.
This is the normal behaviour when editing the root file or a .tex file included through \include.
Logs
LaTeX Workshop Output*
[17:01:27][Logger] New log placeholder %WS1% registered for c:\Users\thomas.fritz\bachelorarbeit-bei-vires .
[17:01:27][Config] latex-workshop.latex.tools: [{"name":"latexmk","command":"latexmk","args":["-shell-escape","-synctex=1","-interaction=batchmode","-halt-on-error","-file-line-error","-pdf","-outdir=%OUTDIR%","%DOC%"],"env":{}},{"name":"lualatexmk","command":"latexmk","args":["-synctex=1","-interaction=nonstopmode","-file-line-error","-lualatex","-outdir=%OUTDIR%","%DOC%"],"env":{}},{"name":"xelatexmk","command":"latexmk","args":["-synctex=1","-interaction=nonstopmode","-file-line-error","-xelatex","-outdir=%OUTDIR%","%DOC%"],"env":{}},{"name":"latexmk_rconly","command":"latexmk","args":["%DOC%"],"env":{}},{"name":"pdflatex","command":"pdflatex","args":["-synctex=1","-interaction=nonstopmode","-file-line-error","%DOC%"],"env":{}},{"name":"bibtex","command":"bibtex","args":["%DOCFILE%"],"env":{}},{"name":"rnw2tex","command":"Rscript","args":["-e","knitr::opts_knit$set(concordance = TRUE); knitr::knit('%DOCFILE_EXT%')"],"env":{}},{"name":"jnw2tex","command":"julia","args":["-e","using Weave; weave(\"%DOC_EXT%\", doctype=\"tex\")"],"env":{}},{"name":"jnw2texminted","command":"julia","args":["-e","using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")"],"env":{}},{"name":"pnw2tex","command":"pweave","args":["-f","tex","%DOC_EXT%"],"env":{}},{"name":"pnw2texminted","command":"pweave","args":["-f","texminted","%DOC_EXT%"],"env":{}},{"name":"tectonic","command":"tectonic","args":["--synctex","--keep-logs","%DOC%.tex"],"env":{}}] .
[17:01:27][Config] latex-workshop.latex.autoBuild.run: "never" .
[17:01:27][Config] latex-workshop.latex.autoBuild.interval: -1 .
[17:01:27][Config] latex-workshop.latex.autoBuild.cleanAndRetry.enabled: false .
[17:01:28][Manager] Set $LATEXWORKSHOP_DOCKER_LATEX: ""
[17:01:28][Builder] pdflatex is provided by MiKTeX.
[17:01:28][Server] Creating LaTeX Workshop http and websocket server.
[17:01:28][Server] Server successfully started: {"address":"127.0.0.1","family":"IPv4","port":63942} .
[17:01:28][Extension] Initializing LaTeX Workshop.
[17:01:28][Extension] Extension root: c:\Users\thomas.fritz\.vscode\extensions\james-yu.latex-workshop-9.8.2
[17:01:28][Extension] $PATH: C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\MATLAB\R2023a\bin;C:\Program Files (x86)\GitExtensions\;C:\Users\thomas.fritz\AppData\Local\Microsoft\WindowsApps;C:\Users\thomas.fritz\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\thomas.fritz\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;C:\Program Files\Inkscape\bin;C:\Users\thomas.fritz\AppData\Local\Programs\Microsoft VS Code Insiders\bin;C:\Program Files\Java\jre1.8.0_361\bin;
[17:01:28][Extension] $SHELL: undefined
[17:01:28][Extension] $LANG: undefined
[17:01:28][Extension] $LC_ALL: undefined
[17:01:28][Extension] process.platform: win32
[17:01:28][Extension] process.arch: x64
[17:01:28][Extension] vscode.env.appName: Visual Studio Code
[17:01:28][Extension] vscode.env.remoteName: undefined
[17:01:28][Extension] vscode.env.uiKind: 1
[17:01:28][Extension] LaTeX Workshop initialized.
[17:01:28][Format][Bib] Bibtex format config: {"tab":" ","case":"lowercase","left":"{","right":"}","trailingComma":false,"sort":["key"],"alignOnEqual":true,"sortFields":false,"fieldsOrder":[],"firstEntries":["string","xdata"]}
[17:01:28][Extension] Trigger characters for intellisense of LaTeX documents: ["\\",",","{"]
[17:01:28][Manager] Current workspace folders: ["file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires"]
[17:01:28][Manager] Found subfile root %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from active.
[17:01:28][Manager] Root file changed: from undefined to %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:01:28][Manager] Start to find all dependencies.
[17:01:28][Manager] Root file languageId: latex
[17:01:28][Cacher][Watcher] Reset.
[17:01:28][Cacher] Adding %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher][Watcher] Watched %WS1%\Bachelorarbeit_LaTeX\debug\main.tex with a new watcher on %WS1%\Bachelorarbeit_LaTeX\debug .
[17:01:28][Cacher] Caching %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Input %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex from %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Adding %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex .
[17:01:28][Cacher][Watcher] Watched %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex .
[17:01:28][Cacher] Caching %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex .
[17:01:28][Cacher] Updated inputs of %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex .
[17:01:28][Cacher] Updated inputs of %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Server] valdOrigin is http://127.0.0.1:63942
[17:01:28][Viewer][Panel] Restoring at column 1 with state {"pdfFileUri":"file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/main.pdf","scale":"auto","scrollMode":0,"sidebarView":0,"spreadMode":0,"scrollTop":0,"scrollLeft":0,"trim":0,"synctexEnabled":true,"autoReloadEnabled":true}.
[17:01:28][Viewer][Panel] Internal PDF viewer at http://127.0.0.1:63942/viewer.html?file=pdf..ZmlsZSUzQSUyRiUyRiUyRmMlM0ElMkZVc2VycyUyRnRob21hcy5mcml0eiUyRmJhY2hlbG9yYXJiZWl0LWJlaS12aXJlcyUyRkJhY2hlbG9yYXJiZWl0X0xhVGVYJTJGZGVidWclMkZtYWluLnBkZg .
[17:01:28][Cacher][Watcher] Watched %WS1%\Bachelorarbeit_LaTeX\debug\main.pdf with a new watcher on %WS1%\Bachelorarbeit_LaTeX\debug .
[17:01:28][DupLabel] Checking for duplicate labels: %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex .
[17:01:28][Cacher] Updated elements of %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex .
[17:01:28][Cacher] Updated bibs of %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex .
[17:01:28][Cacher] Cached %WS1%\Bachelorarbeit_LaTeX\debug\includedfile1.tex .
[17:01:28][DupLabel] Checking for duplicate labels: %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Updated elements of %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Updated bibs of %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Cached %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Parsing .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls .
[17:01:28][Cacher] Adding %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex .
[17:01:28][Cacher][Watcher] Watched %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex .
[17:01:28][Cacher] Found %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , caching.
[17:01:28][Cacher] Caching %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex .
[17:01:28][Cacher] Updated inputs of %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex .
[17:01:28][Cacher] Adding %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:28][Cacher][Watcher] Watched %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:28][Cacher] Found %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , caching.
[17:01:28][Cacher] Caching %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:28][Cacher] Updated inputs of %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:28][Cacher] Found .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , parsing.
[17:01:28][Cacher] Parsed .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Found .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , parsing.
[17:01:28][Cacher] Parsed .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Found .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , parsing.
[17:01:28][Cacher] Parsed .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Found .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , parsing.
[17:01:28][Cacher] Parsed .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][Cacher] Parsed .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls .
[17:01:28][Structure] Structure force updated with 1 root sections for %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:28][DupLabel] Checking for duplicate labels: %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex .
[17:01:28][Cacher] Updated elements of %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex .
[17:01:28][Cacher] Updated bibs of %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex .
[17:01:28][Cacher] Cached %WS1%\Bachelorarbeit_LaTeX\debug\subfile1.tex .
[17:01:28][DupLabel] Checking for duplicate labels: %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:28][Cacher] Updated elements of %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:28][Cacher] Updated bibs of %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:28][Cacher] Cached %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:28][Structure] Structure force updated with 1 root sections for %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:29][Viewer] Handle data type: open
[17:01:29][Server] Preview PDF file: file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/main.pdf
[17:01:30][Viewer] Handle data type: loaded
[17:01:31][Cacher][Watcher] "change" emitted on %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:31][Cacher] Caching %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:31][Cacher] Updated inputs of %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:31][DupLabel] Checking for duplicate labels: %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:31][Cacher] Updated elements of %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:31][Cacher] Updated bibs of %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:31][Cacher] Cached %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex .
[17:01:31][Structure] Structure force updated with 1 root sections for %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:01:56][Commander] SYNCTEX command invoked.
[17:01:56][Locator] Forward from %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex to %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.pdf on line 5.
[17:01:56][SyncTeX] %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.synctex, %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.synctex.gz not found.
[17:02:04][Commander] BUILD command invoked.
[17:02:04][Commander] The document of the active editor: file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/subfile2.tex
[17:02:04][Commander] The languageId of the document: latex
[17:02:04][Manager] Current workspace folders: ["file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires"]
[17:02:04][Manager] Found subfile root %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from active.
[17:02:04][Manager] Keep using the same root file: %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:02:04][Structure] Structure updated with 1 root sections for %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:02:06][Commander] Building root file: %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:02:06][Builder] Build root file %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:02:06][Builder] outDir: c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug .
[17:02:06][Builder] Preparing to run recipe: latexmk.
[17:02:06][Builder] Prepared 1 tools.
[17:02:06][Builder] Recipe step 1 The command is latexmk:["--max-print-line=10000","-shell-escape","-synctex=1","-interaction=batchmode","-halt-on-error","-file-line-error","-pdf","-outdir=c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug","c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/main"].
[17:02:06][Builder] env: {}
[17:02:06][Builder] root: %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:02:06][Builder] cwd: %WS1%\Bachelorarbeit_LaTeX\debug
[17:02:06][Builder] LaTeX build process spawned with PID 12176.
[17:02:08][Cacher][Watcher] "change" emitted on %WS1%\Bachelorarbeit_LaTeX\debug\main.pdf after polling for 251 ms.
[17:02:08][Cacher][Watcher] "change" emitted on %WS1%\Bachelorarbeit_LaTeX\debug\main.pdf after polling for 252 ms.
[17:02:09][Builder] Finished a step in recipe with PID 12176.
[17:02:09][Builder] Successfully built %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:02:09][Viewer] Call refreshExistingViewer: "c:\\Users\\thomas.fritz\\bachelorarbeit-bei-vires\\Bachelorarbeit_LaTeX\\debug\\main.tex" .
[17:02:09][Viewer] Refresh PDF viewer: undefined
[17:02:09][Cacher] Parsing .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls .
[17:02:09][Cacher] Found .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , parsing.
[17:02:09][Cacher] Parsed .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:02:09][Cacher] Found .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , parsing.
[17:02:09][Cacher] Parsed .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:02:09][Cacher] Found .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , parsing.
[17:02:09][Cacher] Parsed .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:02:09][Cacher] Found .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls , parsing.
[17:02:09][Cacher] Parsed .aux %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:02:09][Cacher] Parsed .fls %WS1%\Bachelorarbeit_LaTeX\debug\main.fls .
[17:02:09][Server] Preview PDF file: file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/main.pdf
[17:02:09][Viewer] Handle data type: loaded
[17:02:09][Cacher][Watcher] "change" emitted on %WS1%\Bachelorarbeit_LaTeX\debug\main.pdf after polling for 264 ms.
[17:02:10][Cacher][Watcher] "change" emitted on %WS1%\Bachelorarbeit_LaTeX\debug\main.pdf after polling for 263 ms.
[17:02:14][Commander] VIEW command invoked with mode: file:///c%3A/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/subfile2.tex.
[17:02:14][Manager] Current workspace folders: ["file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires"]
[17:02:14][Manager] Found subfile root %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from active.
[17:02:14][Manager] Keep using the same root file: %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:02:14][Structure] Structure updated with 1 root sections for %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:02:16][Viewer][Panel] Internal PDF viewer at http://127.0.0.1:63942/viewer.html?file=pdf..ZmlsZSUzQSUyRiUyRiUyRmMlM0ElMkZVc2VycyUyRnRob21hcy5mcml0eiUyRmJhY2hlbG9yYXJiZWl0LWJlaS12aXJlcyUyRkJhY2hlbG9yYXJiZWl0X0xhVGVYJTJGZGVidWclMkZtYWluLnBkZg .
[17:02:16][Cacher][Watcher] Watched %WS1%\Bachelorarbeit_LaTeX\debug\main.pdf .
[17:02:16][Viewer] Open PDF tab for file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/main.pdf
[17:02:16][Viewer] Handle data type: open
[17:02:16][Server] Preview PDF file: file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/main.pdf
[17:02:17][Viewer] Handle data type: loaded
[17:04:53][Commander] BUILD command invoked.
[17:04:53][Commander] The document of the active editor: file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/subfile2.tex
[17:04:53][Commander] The languageId of the document: latex
[17:04:53][Manager] Current workspace folders: ["file:///c:/Users/thomas.fritz/bachelorarbeit-bei-vires"]
[17:04:53][Manager] Found subfile root %WS1%\Bachelorarbeit_LaTeX\debug\main.tex from active.
[17:04:53][Manager] Keep using the same root file: %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:04:53][Structure] Structure updated with 1 root sections for %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:04:54][Commander] Building root file: %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:04:54][Builder] Build root file %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:04:54][Builder] outDir: c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug .
[17:04:54][Builder] Preparing to run recipe: latexmk.
[17:04:54][Builder] Prepared 1 tools.
[17:04:54][Builder] Recipe step 1 The command is latexmk:["--max-print-line=10000","-shell-escape","-synctex=1","-interaction=batchmode","-halt-on-error","-file-line-error","-pdf","-outdir=c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug","c:/Users/thomas.fritz/bachelorarbeit-bei-vires/Bachelorarbeit_LaTeX/debug/main"].
[17:04:54][Builder] env: {}
[17:04:54][Builder] root: %WS1%\Bachelorarbeit_LaTeX\debug\main.tex
[17:04:54][Builder] cwd: %WS1%\Bachelorarbeit_LaTeX\debug
[17:04:54][Builder] LaTeX build process spawned with PID 27444.
[17:04:54][Builder] Finished a step in recipe with PID 27444.
[17:04:54][Builder] Successfully built %WS1%\Bachelorarbeit_LaTeX\debug\main.tex .
[17:05:00][Commander] SYNCTEX command invoked.
[17:05:00][Locator] Forward from %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.tex to %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.pdf on line 3.
[17:05:00][SyncTeX] %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.synctex, %WS1%\Bachelorarbeit_LaTeX\debug\subfile2.synctex.gz not found.
Developer Tools Console
WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'testContinuousRun' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:431 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.remote-repositories' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:431 WARN Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'contribEditorGutterMenu' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:431 WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-toolsai.jupyter' wants API proposal 'notebookControllerKind' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
TMScopeRegistry.ts:45 Overwriting grammar scope name to file mapping for scope text.tex.
Old grammar file: file:///c%3A/Users/thomas.fritz/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/TeX.tmLanguage.json.
New grammar file: file:///c%3A/Users/thomas.fritz/.vscode/extensions/james-yu.latex-workshop-9.8.2/syntax/TeX.tmLanguage.json
register @ TMScopeRegistry.ts:45
TMScopeRegistry.ts:45 Overwriting grammar scope name to file mapping for scope text.tex.latex.
Old grammar file: file:///c%3A/Users/thomas.fritz/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/LaTeX.tmLanguage.json.
New grammar file: file:///c%3A/Users/thomas.fritz/.vscode/extensions/james-yu.latex-workshop-9.8.2/syntax/LaTeX.tmLanguage.json
register @ TMScopeRegistry.ts:45
TMScopeRegistry.ts:45 Overwriting grammar scope name to file mapping for scope text.bibtex.
Old grammar file: file:///c%3A/Users/thomas.fritz/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/Bibtex.tmLanguage.json.
New grammar file: file:///c%3A/Users/thomas.fritz/.vscode/extensions/james-yu.latex-workshop-9.8.2/syntax/Bibtex.tmLanguage.json
register @ TMScopeRegistry.ts:45
TMScopeRegistry.ts:45 Overwriting grammar scope name to file mapping for scope text.tex.markdown_latex_combined.
Old grammar file: file:///c%3A/Users/thomas.fritz/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json.
New grammar file: file:///c%3A/Users/thomas.fritz/.vscode/extensions/james-yu.latex-workshop-9.8.2/syntax/markdown-latex-combined.tmLanguage.json
register @ TMScopeRegistry.ts:45
TMScopeRegistry.ts:45 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.latex.
Old grammar file: file:///c%3A/Users/thomas.fritz/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json.
New grammar file: file:///c%3A/Users/thomas.fritz/.vscode/extensions/james-yu.latex-workshop-9.8.2/syntax/cpp-grammar-bailout.tmLanguage.json
register @ TMScopeRegistry.ts:45
log.ts:421 INFO [perf] Render performance baseline is 47ms
viewer.js:1909 The `PDFViewerApplication.open` signature was updated, please use an object instead.
open @ viewer.js:1909
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/synctex.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/pagetrimmer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/utils.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/externalpromise.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/viewerhistory.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/viewer/viewer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/latexworkshop.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/build/pdf.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/htmleditor.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/connection.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/synctex.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/externalpromise.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/utils.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/pagetrimmer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/out/viewer/components/viewerhistory.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/viewer/viewer.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
2DevTools failed to load source map: Could not load content for http://127.0.0.1:63942/build/pdf.worker.js.map: Fetch through target failed: Target not supported; Fallback: Unknown error
You need to set latex.rootFile.useSubFile to false. Otherwise, the extension will consider the subfile as root, and synctex from the subfile. There is unfortunately no better solution to this issue.
Pre-checks*
Environment*
The Issue*
SyncTeX from cursor
command doesn't work in multi-file latex documents created with the subfiles package.Reproduction Steps
SyncTeX from cursor
commandActual Behavior
Expected Behavior
\include
.Logs
LaTeX Workshop Output*
Developer Tools Console