James-Yu / LaTeX-Workshop

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
MIT License
10.42k stars 519 forks source link

LaTeX workshop extension "remembers" wrong capitalization of file on case-insensitive file systems #4260

Closed fwcd closed 1 month ago

fwcd commented 2 months ago

Please fill the following fields with a star (*) and provide as much related information as possible.

Pre-checks*

Please change the following [ ] to [x] for confirmation.

  • [x] The issue has not been reported in this repository.
  • [x] The issue remains after disabling all other extensions and restarting Visual Studio Code.
  • [x] The FAQ cannot address the issue.
  • [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.
  • The issue does not occur when compiling with latexmk -pdf on the command-line

Environment*

Please write exact version numbers instead of descriptors such as latest.

  • Operating System: macOS 14.4.1
  • Visual Studio Code Version: 1.89.0
  • LaTeX Workshop Version: 9.20.1
  • TeX Distribution Version: TeX Live 2024

The Issue*

Please briefly describe the issue you come across.

  • LaTeX Workshop seems to "remember" the capitalization of a file and keeps using it for the auxiliary output files, even if the capitalization of the source (.tex) file is changed on the file system
  • Note that I have only tested this on macOS using the case-insensitive, but case-preserving APFS file system

Reproduction Steps

Please list out the steps to reproduce your bug. Include relevant environmental variables or any other configuration.

  1. Create a file using one capitalization (e.g. abc.tex)
  2. Compile the document using LaTeX Workshop (e.g. with the green play icon)
  3. Change the file's capitalization
  4. Observe how LaTeX workshop keeps using the old capitalization for the auxiliary files

https://github.com/James-Yu/LaTeX-Workshop/assets/30873659/2c98efdd-2cc2-483b-94d4-f6a817c675aa

Expected Behavior

What were you expecting to see? Include any relevant examples or documentation links.

  • I would have expected it to use the new capitalization, like when I invoke latexmk -pdf on the command-line:

image

Logs

LaTeX Workshop Output*

Please paste the whole log messages below, not parts of ones. The log should start with New log placeholder %WS1% registered.

``` [16:45:48.226][Logger] New log placeholder %WS1% registered for /Users//playground/latex-workshop-capitalization-bug . [16:45:48.226][Extension] Initializing LaTeX Workshop. [16:45:48.306][Build][Recipe] Set $LATEXWORKSHOP_DOCKER_LATEX: "" [16:45:48.328][Server] Creating LaTeX Workshop http and websocket server. [16:45:48.376][Format][Bib] Bibtex format config: {"tab":" ","case":"lowercase","left":"{","right":"}","trailingComma":false,"sort":["key"],"alignOnEqual":true,"sortFields":false,"fieldsOrder":[],"firstEntries":["string","xdata"]} [16:45:48.398][Server] Server successfully started: {"address":"127.0.0.1","family":"IPv4","port":64138} . [16:45:48.403][Extension] Extension root: /Users//.vscode/extensions/james-yu.latex-workshop-9.20.1 [16:45:48.404][Extension] $PATH: [16:45:48.404][Extension] $SHELL: /bin/zsh [16:45:48.404][Extension] $LANG: en_US.UTF-8 [16:45:48.404][Extension] $LC_ALL: undefined [16:45:48.404][Extension] process.platform: darwin [16:45:48.404][Extension] process.arch: arm64 [16:45:48.404][Extension] vscode.env.appName: Visual Studio Code [16:45:48.404][Extension] vscode.env.remoteName: undefined [16:45:48.404][Extension] vscode.env.uiKind: 1 [16:45:48.428][Config] editor.acceptSuggestionOnEnter: "off" . [16:45:48.430][Extension] Trigger characters for intellisense of LaTeX documents: ["\\",",","{"] [16:45:48.431][Root] Current workspace folders: ["file://%WS1%"] [16:45:48.431][Extension] LaTeX Workshop initialized. [16:45:48.431][Root] Current workspaceRootDir: file://%WS1% . [16:45:48.439][Server] valdOrigin is http://127.0.0.1:64138 [16:45:48.470][Root] No root file found. [16:45:48.470][Structure] Structure cleared on undefined root. [16:45:48.470][Event] ROOT_FILE_SEARCHED [16:45:48.470][Event] STRUCTURE_UPDATED [16:45:50.510][Cacher] Error loading cache: %WS1%/abc.tex . Forcing. [16:45:50.512][Cacher] Caching %WS1%/abc.tex . [16:45:50.513][Cacher] Updated inputs of %WS1%/abc.tex . [16:45:50.513][Cacher] Parse LaTeX AST: %WS1%/abc.tex . [16:45:50.514][Cacher] Error loading cache: %WS1%/abc.tex . Forcing. [16:45:50.515][Cacher] Caching %WS1%/abc.tex . [16:45:50.515][Cacher] Updated inputs of %WS1%/abc.tex . [16:45:50.515][Cacher] Parse LaTeX AST: %WS1%/abc.tex . [16:45:50.516][Cacher] Error loading cache: %WS1%/abc.tex . Forcing. [16:45:50.516][Cacher] Caching %WS1%/abc.tex . [16:45:50.516][Cacher] Updated inputs of %WS1%/abc.tex . [16:45:50.516][Cacher] Parse LaTeX AST: %WS1%/abc.tex . [16:45:50.522][Cacher] Parsed LaTeX AST: %WS1%/abc.tex . [16:45:50.522][Cacher] Updated elements in 0.39 ms: %WS1%/abc.tex . [16:45:50.522][Event] FILE_PARSED: "%WS1%/abc.tex" [16:45:50.523][Structure][LaTeX] Error loading content during structuring: %WS1%/abc.tex . [16:45:50.523][Cacher] Parsed LaTeX AST: %WS1%/abc.tex . [16:45:50.523][Cacher] Updated elements in 0.24 ms: %WS1%/abc.tex . [16:45:50.523][Event] FILE_PARSED: "%WS1%/abc.tex" [16:45:50.523][Structure][LaTeX] Error loading content during structuring: %WS1%/abc.tex . [16:45:50.523][Cacher] Parsed LaTeX AST: %WS1%/abc.tex . [16:45:50.524][Cacher] Updated elements in 0.12 ms: %WS1%/abc.tex . [16:45:50.524][Event] FILE_PARSED: "%WS1%/abc.tex" [16:45:50.524][Structure] Structure cleared on undefined root. [16:45:50.524][Event] STRUCTURE_UPDATED [16:45:50.524][Structure][LaTeX] Error loading content during structuring: %WS1%/abc.tex . [16:45:50.615][Structure][LaTeX] Error loading content during structuring: %WS1%/abc.tex . [16:45:54.616][Structure][LaTeX] Error loading content during structuring: %WS1%/abc.tex . [16:45:54.960][Structure][LaTeX] Error loading content during structuring: %WS1%/abc.tex . [16:45:55.102][Extension] onDidSaveTextDocument triggered: file://%WS1%/abc.tex [16:45:55.431][Structure][LaTeX] Error loading content during structuring: %WS1%/abc.tex . [16:45:55.605][Structure][LaTeX] Error loading content during structuring: %WS1%/abc.tex . [16:45:58.556][Structure] Structure cleared on undefined root. [16:45:58.561][Event] STRUCTURE_UPDATED [16:45:59.054][Commander] BUILD command invoked. [16:45:59.054][Build] The document of the active editor: file://%WS1%/abc.tex [16:45:59.054][Build] The languageId of the document: latex [16:45:59.054][Root] Current workspace folders: ["file://%WS1%"] [16:45:59.055][Root] Found root file from active editor: %WS1%/abc.tex [16:45:59.055][Root] Root file changed: from %WS1%/abc.tex to %WS1%/abc.tex, langID latex . Refresh dependencies [16:45:59.055][Event] ROOT_FILE_CHANGED: "%WS1%/abc.tex" [16:45:59.055][Cacher][Watcher] Reset. [16:45:59.056][Cacher][Watcher] Reset. [16:45:59.057][Cacher] Adding %WS1%/abc.tex . [16:45:59.057][Cacher][Watcher] Watched %WS1%/abc.tex with a new .* watcher on %WS1% . [16:45:59.057][Event] FILE_WATCHED: "%WS1%/abc.tex" [16:45:59.058][Cacher] Caching %WS1%/abc.tex . [16:45:59.059][Cacher] Updated inputs of %WS1%/abc.tex . [16:45:59.059][Cacher] Parse LaTeX AST: %WS1%/abc.tex . [16:45:59.059][Event] ROOT_FILE_SEARCHED [16:45:59.060][Build] Building root file: %WS1%/abc.tex [16:45:59.060][Build][Recipe] Build root file %WS1%/abc.tex [16:45:59.062][Cacher] Parsed LaTeX AST: %WS1%/abc.tex . [16:45:59.063][File] Calling kpsewhich to resolve article.cls . [16:45:59.161][File] kpsewhich returned with '/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls'. [16:45:59.162][Cacher] Updated elements in 99.17 ms: %WS1%/abc.tex . [16:45:59.162][Event] FILE_PARSED: "%WS1%/abc.tex" [16:45:59.162][Structure] Structure force updated with 0 root sections for %WS1%/abc.tex . [16:45:59.163][Event] STRUCTURE_UPDATED [16:45:59.163][Build][Recipe] Preparing to run recipe: latexmk. [16:45:59.163][Build][Recipe] Prepared 1 tools. [16:45:59.170][Build][Recipe] outDir: %WS1% . [16:45:59.170][Build] Recipe step 1 The command is latexmk:["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=%WS1%","%WS1%/abc"]. [16:45:59.170][Build] env: {} [16:45:59.170][Build] root: %WS1%/abc.tex [16:45:59.170][Build] cwd: %WS1% [16:45:59.172][Build] LaTeX build process spawned with PID 21638. [16:45:59.441][Parser][TexLog] Logged 2 messages. [16:45:59.441][Build] Recipe returns with error code 12/null on PID 21638. [16:45:59.441][Build] Does the executable exist? $PATH: , $Path: undefined, $SHELL: /bin/zsh [16:45:59.441][Build] Latexmk: Sometimes, the -f option can be used to get latexmk to try to force complete processing. But normally, you will need to correct the file(s) that caused the error, and then rerun latexmk. In some cases, it is best to clean out generated files before rerunning latexmk after you've corrected the files. [16:45:59.442][Build] Cleaning auxiliary files and retrying build after toolchain error. [16:45:59.442][Cleaner] Clean temporary files command The command is latexmk:["-outdir=%WS1%","-c","%WS1%/abc.tex"]. [16:45:59.444][Build] Recipe step 1 The command is latexmk:["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=%WS1%","%WS1%/abc"]. [16:45:59.444][Build] env: {} [16:45:59.444][Build] root: %WS1%/abc.tex [16:45:59.444][Build] cwd: %WS1% [16:45:59.447][Build] LaTeX build process spawned with PID 21701. [16:45:59.511][Event] AUTO_CLEANED [16:45:59.711][Parser][TexLog] Logged 2 messages. [16:45:59.712][Build] Recipe returns with error code 12/null on PID 21701. [16:45:59.712][Build] Does the executable exist? $PATH: , $Path: undefined, $SHELL: /bin/zsh [16:45:59.712][Build] Latexmk: Sometimes, the -f option can be used to get latexmk to try to force complete processing. But normally, you will need to correct the file(s) that caused the error, and then rerun latexmk. In some cases, it is best to clean out generated files before rerunning latexmk after you've corrected the files. [16:46:04.245][Root] Current workspace folders: ["file://%WS1%"] [16:46:04.246][Root] Found root file from active editor: %WS1%/AB.tex [16:46:04.246][Root] Root file changed: from %WS1%/AB.tex to %WS1%/AB.tex, langID latex . Refresh dependencies [16:46:04.246][Event] ROOT_FILE_CHANGED: "%WS1%/AB.tex" [16:46:04.246][Cacher][Watcher] Reset. [16:46:04.246][Cacher][Watcher] Reset. [16:46:04.247][Cacher] Adding %WS1%/AB.tex . [16:46:04.247][Cacher][Watcher] Watched %WS1%/AB.tex with a new .* watcher on %WS1% . [16:46:04.247][Event] FILE_WATCHED: "%WS1%/AB.tex" [16:46:04.247][Cacher] Caching %WS1%/AB.tex . [16:46:04.247][Cacher] Updated inputs of %WS1%/AB.tex . [16:46:04.248][Cacher] Parse LaTeX AST: %WS1%/AB.tex . [16:46:04.248][Event] ROOT_FILE_SEARCHED [16:46:04.248][Event] STRUCTURE_UPDATED [16:46:04.250][Cacher] Parsed LaTeX AST: %WS1%/AB.tex . [16:46:04.250][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls . [16:46:04.250][Cacher] Updated elements in 0.44 ms: %WS1%/AB.tex . [16:46:04.250][Event] FILE_PARSED: "%WS1%/AB.tex" [16:46:04.251][Structure] Structure force updated with 0 root sections for %WS1%/AB.tex . [16:46:04.251][Event] STRUCTURE_UPDATED [16:46:04.300][Cacher][Watcher] "create" emitted on %WS1%/AB.tex. [16:46:04.301][Cacher] Caching %WS1%/AB.tex . [16:46:04.301][Cacher] Updated inputs of %WS1%/AB.tex . [16:46:04.301][Cacher] Parse LaTeX AST: %WS1%/AB.tex . [16:46:04.301][Build] Auto build started detecting the change of a file: %WS1%/AB.tex . [16:46:04.301][Event] AUTO_BUILD_INITIATED: {"type":"onFileChange","file":"%WS1%/AB.tex"} [16:46:04.301][Build] The document of the active editor: file://%WS1%/AB.tex [16:46:04.301][Build] The languageId of the document: latex [16:46:04.301][Build] Building root file: %WS1%/AB.tex [16:46:04.301][Build][Recipe] Build root file %WS1%/AB.tex [16:46:04.302][Event] FILE_CHANGED: "%WS1%/AB.tex" [16:46:04.306][Build][Recipe] Preparing to run recipe: latexmk. [16:46:04.306][Build][Recipe] Prepared 1 tools. [16:46:04.306][Build][Recipe] outDir: %WS1% . [16:46:04.306][Build] Recipe step 1 The command is latexmk:["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=%WS1%","%WS1%/AB"]. [16:46:04.306][Build] env: {} [16:46:04.306][Build] root: %WS1%/AB.tex [16:46:04.307][Build] cwd: %WS1% [16:46:04.308][Build] LaTeX build process spawned with PID 21737. [16:46:04.309][Cacher] Parsed LaTeX AST: %WS1%/AB.tex . [16:46:04.309][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls . [16:46:04.310][Cacher] Updated elements in 0.33 ms: %WS1%/AB.tex . [16:46:04.310][Event] FILE_PARSED: "%WS1%/AB.tex" [16:46:04.310][Structure] Structure force updated with 0 root sections for %WS1%/AB.tex . [16:46:04.310][Event] STRUCTURE_UPDATED [16:46:04.571][Parser][TexLog] Logged 2 messages. [16:46:04.572][Build] Recipe returns with error code 12/null on PID 21737. [16:46:04.572][Build] Does the executable exist? $PATH: , $Path: undefined, $SHELL: /bin/zsh [16:46:04.572][Build] Latexmk: Sometimes, the -f option can be used to get latexmk to try to force complete processing. But normally, you will need to correct the file(s) that caused the error, and then rerun latexmk. In some cases, it is best to clean out generated files before rerunning latexmk after you've corrected the files. [16:46:04.572][Build] Cleaning auxiliary files and retrying build after toolchain error. [16:46:04.572][Cleaner] Clean temporary files command The command is latexmk:["-outdir=%WS1%","-c","%WS1%/AB.tex"]. [16:46:04.574][Build] Recipe step 1 The command is latexmk:["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=%WS1%","%WS1%/AB"]. [16:46:04.574][Build] env: {} [16:46:04.574][Build] root: %WS1%/AB.tex [16:46:04.574][Build] cwd: %WS1% [16:46:04.576][Build] LaTeX build process spawned with PID 21801. [16:46:04.638][Event] AUTO_CLEANED [16:46:04.831][Parser][TexLog] Logged 2 messages. [16:46:04.831][Build] Recipe returns with error code 12/null on PID 21801. [16:46:04.831][Build] Does the executable exist? $PATH: , $Path: undefined, $SHELL: /bin/zsh [16:46:04.831][Build] Latexmk: Sometimes, the -f option can be used to get latexmk to try to force complete processing. But normally, you will need to correct the file(s) that caused the error, and then rerun latexmk. In some cases, it is best to clean out generated files before rerunning latexmk after you've corrected the files. [16:46:09.586][Root] Current workspace folders: ["file://%WS1%"] [16:46:09.587][Root] Found root file from active editor: %WS1%/abc.tex [16:46:09.587][Root] Root file changed: from %WS1%/abc.tex to %WS1%/abc.tex, langID latex . Refresh dependencies [16:46:09.587][Event] ROOT_FILE_CHANGED: "%WS1%/abc.tex" [16:46:09.588][Cacher][Watcher] Reset. [16:46:09.588][Cacher][Watcher] Reset. [16:46:09.588][Cacher] Adding %WS1%/abc.tex . [16:46:09.588][Cacher][Watcher] Watched %WS1%/abc.tex with a new .* watcher on %WS1% . [16:46:09.588][Event] FILE_WATCHED: "%WS1%/abc.tex" [16:46:09.589][Cacher] Caching %WS1%/abc.tex . [16:46:09.589][Cacher] Updated inputs of %WS1%/abc.tex . [16:46:09.589][Cacher] Parse LaTeX AST: %WS1%/abc.tex . [16:46:09.589][Event] ROOT_FILE_SEARCHED [16:46:09.590][Event] STRUCTURE_UPDATED [16:46:09.592][Cacher] Parsed LaTeX AST: %WS1%/abc.tex . [16:46:09.592][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls . [16:46:09.592][Cacher] Updated elements in 0.53 ms: %WS1%/abc.tex . [16:46:09.593][Event] FILE_PARSED: "%WS1%/abc.tex" [16:46:09.593][Structure] Structure force updated with 0 root sections for %WS1%/abc.tex . [16:46:09.593][Cacher] Parsing .fls %WS1%/abc.fls . [16:46:09.594][Cacher] Parsed .fls %WS1%/abc.fls . [16:46:09.594][Event] STRUCTURE_UPDATED [16:46:12.412][Commander] BUILD command invoked. [16:46:12.412][Build] The document of the active editor: file://%WS1%/abc.tex [16:46:12.412][Build] The languageId of the document: latex [16:46:12.412][Root] Current workspace folders: ["file://%WS1%"] [16:46:12.413][Root] Found root file from active editor: %WS1%/abc.tex [16:46:12.414][Root] Keep using the same root file: %WS1%/abc.tex [16:46:12.414][Event] ROOT_FILE_SEARCHED [16:46:12.414][Event] STRUCTURE_UPDATED [16:46:12.415][Build] Building root file: %WS1%/abc.tex [16:46:12.415][Build][Recipe] Build root file %WS1%/abc.tex [16:46:12.423][Build][Recipe] Preparing to run recipe: latexmk. [16:46:12.423][Build][Recipe] Prepared 1 tools. [16:46:12.424][Build][Recipe] outDir: %WS1% . [16:46:12.424][Build] Recipe step 1 The command is latexmk:["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=%WS1%","%WS1%/abc"]. [16:46:12.424][Build] env: {} [16:46:12.424][Build] root: %WS1%/abc.tex [16:46:12.424][Build] cwd: %WS1% [16:46:12.428][Build] LaTeX build process spawned with PID 21834. [16:46:12.530][Build] Recipe returns with error code 12/null on PID 21834. [16:46:12.530][Build] Does the executable exist? $PATH: , $Path: undefined, $SHELL: /bin/zsh [16:46:12.530][Build] Latexmk: Sometimes, the -f option can be used to get latexmk to try to force complete processing. But normally, you will need to correct the file(s) that caused the error, and then rerun latexmk. In some cases, it is best to clean out generated files before rerunning latexmk after you've corrected the files. [16:46:12.530][Build] Cleaning auxiliary files and retrying build after toolchain error. [16:46:12.530][Cleaner] Clean temporary files command The command is latexmk:["-outdir=%WS1%","-c","%WS1%/abc.tex"]. [16:46:12.533][Build] Recipe step 1 The command is latexmk:["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=%WS1%","%WS1%/abc"]. [16:46:12.533][Build] env: {} [16:46:12.533][Build] root: %WS1%/abc.tex [16:46:12.533][Build] cwd: %WS1% [16:46:12.535][Build] LaTeX build process spawned with PID 21894. [16:46:12.596][Event] AUTO_CLEANED [16:46:12.787][Parser][TexLog] Logged 2 messages. [16:46:12.787][Build] Recipe returns with error code 12/null on PID 21894. [16:46:12.787][Build] Does the executable exist? $PATH: , $Path: undefined, $SHELL: /bin/zsh [16:46:12.788][Build] Latexmk: Sometimes, the -f option can be used to get latexmk to try to force complete processing. But normally, you will need to correct the file(s) that caused the error, and then rerun latexmk. In some cases, it is best to clean out generated files before rerunning latexmk after you've corrected the files. ```

Developer Tools Console

Please paste the whole log messages below, not parts of ones. This console logs can sometimes be very important in many cases. To access the log, click Help -> Toggle Developer Tools -> Console.

``` log.ts:419 INFO Started local extension host with pid 20412. log.ts:439 ERR Ignoring latex-workshop.synctex.indicator.enabled as latex-workshop.synctex.indicator is "rectangle" log.ts:419 INFO [perf] Render performance baseline is 15ms log.ts:429 WARN [remote-ssh]: Couldn't find message for key setting.usseExecServer.description. webviewElement.ts:482 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. mountTo @ webviewElement.ts:482 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/TeX.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/TeX.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex.latex. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/LaTeX.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/LaTeX.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.bibtex. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/Bibtex.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/Bibtex.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex.markdown_latex_combined. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/markdown-latex-combined.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.latex. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/cpp-grammar-bailout.tmLanguage.json register @ TMScopeRegistry.ts:46 5notificationsAlerts.ts:42 Recipe terminated with error. c @ notificationsAlerts.ts:42 log.ts:429 WARN [remote-ssh]: Couldn't find message for key setting.usseExecServer.description. log.ts:429 WARN [redhat.vscode-xml]: Cannot register 'redhat.telemetry.enabled'. This property is already registered. log.ts:429 WARN [redhat.vscode-yaml]: Cannot register 'redhat.telemetry.enabled'. This property is already registered. TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.dart. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/dart/syntaxes/dart.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/dart-code.dart-code-3.88.0/syntaxes/dart.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/TeX.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/TeX.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex.latex. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/LaTeX.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/LaTeX.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.bibtex. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/Bibtex.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/Bibtex.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.tex.markdown_latex_combined. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/markdown-latex-combined.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/markdown-latex-combined.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.latex. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/latex/syntaxes/cpp-grammar-bailout.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/james-yu.latex-workshop-9.20.1/syntax/cpp-grammar-bailout.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.java. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/redhat.java-1.30.0-darwin-arm64/language-support/java/java.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.yaml. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/redhat.vscode-yaml-1.14.0/syntaxes/yaml.tmLanguage.json register @ TMScopeRegistry.ts:46 TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.ruby. Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/ruby/syntaxes/ruby.tmLanguage.json. New grammar file: file:///Users//.vscode/extensions/shopify.ruby-lsp-0.5.21/grammars/ruby.cson.json register @ TMScopeRegistry.ts:46 log.ts:439 ERR [Extension Host] (node:20412) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `Code Helper (Plugin) --trace-deprecation ...` to show where the warning was created) console.ts:137 [Extension Host] (node:20412) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `Code Helper (Plugin) --trace-deprecation ...` to show where the warning was created) ```
James-Yu commented 1 month ago

Unfortunately, the extension cannot trace filename case changes. We rely on vscode.FileSystemWatcher to monitor file changes, including but not limited to file name changes. You may want to file an issue in vscode's repository.