James-Yu / LaTeX-Workshop

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

Clean up empty folder in Out Dir #3732

Closed k2pctdn closed 1 year ago

k2pctdn commented 1 year 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.

Environment*

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

  • Operating System: macOS Ventura 13.2.1
  • Visual Studio Code Version: 1.75.1
  • LaTeX Workshop Version: 9.7.0
  • TeX Distribution Version: TeX Live 2022

Please list the environment and version number if you are using VSCodium, Snap or Flatpack versions of Visual Studio Code, and/or Visual Studio Code Remote Containers/SSH/WSL.

  • None

The Issue*

Please briefly describe the issue you come across.

  • LaTeX Workshop can clean the auxiliary files, but not the empty folder in the Out Dir folder (in my case the Out Dir folder is %DIR%/output):
  • The contents folder is empty and inside the output folder but it is not deleted.

Screenshot 2023-02-19 at 02 37 44

Reproduction Steps

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

  1. Compile any documents with some tex files in a sub folder.
  2. Press CMD + Option + C, or setup auto clean up, to clean up auxiliary files/folders.
  3. The empty folder still there
    • Belows are my setup: Screenshot 2023-02-19 at 02 24 54

Screenshot 2023-02-19 at 02 26 56

Screenshot 2023-02-19 at 02 27 21

Expected Behavior

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

  • The empty folder should be cleaned too.

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.

[02:43:09][Logger] New log placeholder %WS1% registered for /Users/[retracted]/Library/CloudStorage/GoogleDrive-[retracted]/Reinforcement-Learning-Beamer .
[02:43:09][Config] Configuration for workspace: file://%WS1% .
[02:43:09][Config] editor.acceptSuggestionOnEnter: "on" .
[02:43:09][Config] latex-workshop.bind.enter.key: true .
[02:43:09][Config] latex-workshop.docker.enabled: false .
[02:43:09][Config] latex-workshop.docker.image.latex: "" .
[02:43:09][Config] latex-workshop.hover.preview.mathjax.extensions: [] .
[02:43:09][Config] latex-workshop.intellisense.package.enabled: true .
[02:43:09][Config] latex-workshop.intellisense.update.aggressive.enabled: false .
[02:43:09][Config] latex-workshop.intellisense.update.delay: 1000 .
[02:43:09][Config] latex-workshop.latex.autoBuild.run: "onFileChange" .
[02:43:09][Config] latex-workshop.latex.build.forceRecipeUsage: true .
[02:43:09][Config] latex-workshop.latex.outDir: "%DIR%/output" .
[02:43:09][Config] latex-workshop.latex.recipes: [
{
"name": "xelatexmk-shell",
"tools": [
"xelatexmk-shell"
]
},
{
"name": "latexmk 🔃",
"tools": [
"latexmk"
]
},
{
"name": "latexmk (latexmkrc)",
"tools": [
"latexmk_rconly"
]
},
{
"name": "latexmk (lualatex)",
"tools": [
"lualatexmk"
]
},
{
"name": "latexmk (xelatex)",
"tools": [
"xelatexmk"
]
},
{
"name": "pdflatex ➞ bibtex ➞ pdflatex × 2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
},
{
"name": "Compile Rnw files",
"tools": [
"rnw2tex",
"latexmk"
]
},
{
"name": "Compile Jnw files",
"tools": [
"jnw2tex",
"latexmk"
]
},
{
"name": "tectonic",
"tools": [
"tectonic"
]
},
{
"name": "xelatexmk-shell-glossary",
"tools": [
"makeglossaries",
"xelatexmk-shell"
]
},
{
"name": "latexmk-shell-glossary",
"tools": [
"latexmk",
"makeglossaries"
]
},
{
"name": "latexmk-shell",
"tools": [
"latexmk-shell"
]
}
] .
[02:43:09][Config] latex-workshop.latex.tools: [
{
"name": "latexmk",
"command": "latexmk",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-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": "jnw2texmintex",
"command": "julia",
"args": [
"-e",
"using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")"
],
"env": {}
},
{
"name": "tectonic",
"command": "tectonic",
"args": [
"--synctex",
"--keep-logs",
"%DOC%.tex"
],
"env": {}
},
{
"name": "xelatexmk-shell",
"command": "latexmk",
"args": [
"-synctex=1",
"-shell-escape",
"-interaction=nonstopmode",
"-file-line-error",
"-xelatex",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {}
},
{
"name": "makeglossaries",
"command": "makeglossaries",
"args": [
"-dtmp",
"%DOCFILE%"
],
"env": {}
},
{
"name": "latexmk-shell",
"command": "latexmk",
"args": [
"-synctex=1",
"-shell-escape",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"-outdir=%OUTDIR%",
"%DOC%"
],
"env": {}
}
] .
[02:43:09][Config] latex-workshop.viewer.pdf.internal.keyboardEvent: "auto" .
[02:43:09][Manager] Set $LATEXWORKSHOP_DOCKER_LATEX: ""
[02:43:09][Server] Creating LaTeX Workshop http and websocket server.
[02:43:09][Server] Server successfully started: {"address":"127.0.0.1","family":"IPv4","port":52286} .
[02:43:09][Extension] Initializing LaTeX Workshop.
[02:43:09][Extension] Extension root: /Users/[retracted]/.vscode/extensions/james-yu.latex-workshop-9.7.0
[02:43:09][Extension] $PATH: /Users/[retracted]/.pyenv/shims:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
[02:43:09][Extension] $SHELL: /bin/zsh
[02:43:09][Extension] $LANG: undefined
[02:43:09][Extension] $LC_ALL: undefined
[02:43:09][Extension] process.platform: darwin
[02:43:09][Extension] process.arch: arm64
[02:43:09][Extension] vscode.env.appName: Visual Studio Code
[02:43:09][Extension] vscode.env.remoteName: undefined
[02:43:09][Extension] vscode.env.uiKind: 1
[02:43:09][Extension] LaTeX Workshop initialized.
[02:43:09][Format][Bib] Bibtex format config: {"tab":"  ","case":"lowercase","left":"{","right":"}","trailingComma":false,"sort":["key"],"alignOnEqual":true,"sortFields":false,"fieldsOrder":[],"firstEntries":["string","xdata"]}
[02:43:09][Extension] Trigger characters for intellisense of LaTeX documents: ["\\",",","{"]
[02:43:09][Manager] Current workspace folders: ["file://%WS1%"]
[02:43:09][Manager] Found root file from active editor: %WS1%/main.tex
[02:43:09][Manager] Root file changed: from undefined to %WS1%/main.tex
[02:43:09][Manager] Start to find all dependencies.
[02:43:09][Manager] Root file languageId: latex
[02:43:09][Cacher][Watcher] Reset.
[02:43:09][Cacher] Adding %WS1%/main.tex .
[02:43:09][Cacher][Watcher] Watched %WS1%/main.tex with a new watcher on %WS1% .
[02:43:09][Cacher] Caching %WS1%/main.tex .
[02:43:09][Cacher] Input %WS1%/commands.tex from %WS1%/main.tex .
[02:43:09][Cacher] Adding %WS1%/commands.tex .
[02:43:09][Cacher][Watcher] Watched %WS1%/commands.tex .
[02:43:09][Cacher] Caching %WS1%/commands.tex .
[02:43:09][Cacher] Updated inputs of %WS1%/commands.tex .
[02:43:09][Cacher] Input %WS1%/contents/brief-introduction-to-rl.tex from %WS1%/main.tex .
[02:43:09][Cacher] Adding %WS1%/contents/brief-introduction-to-rl.tex .
[02:43:09][Cacher][Watcher] Watched %WS1%/contents/brief-introduction-to-rl.tex with a new watcher on %WS1%/contents .
[02:43:09][Cacher] Caching %WS1%/contents/brief-introduction-to-rl.tex .
[02:43:09][Cacher] Updated inputs of %WS1%/contents/brief-introduction-to-rl.tex .
[02:43:09][Cacher] Input %WS1%/contents/finite-mdp-and-rl.tex from %WS1%/main.tex .
[02:43:09][Cacher] Adding %WS1%/contents/finite-mdp-and-rl.tex .
[02:43:09][Cacher][Watcher] Watched %WS1%/contents/finite-mdp-and-rl.tex .
[02:43:09][Cacher] Caching %WS1%/contents/finite-mdp-and-rl.tex .
[02:43:09][Cacher] Updated inputs of %WS1%/contents/finite-mdp-and-rl.tex .
[02:43:09][Cacher] Input %WS1%/contents/RL-algorithms.tex from %WS1%/main.tex .
[02:43:09][Cacher] Adding %WS1%/contents/RL-algorithms.tex .
[02:43:09][Cacher][Watcher] Watched %WS1%/contents/RL-algorithms.tex .
[02:43:09][Cacher] Caching %WS1%/contents/RL-algorithms.tex .
[02:43:09][Cacher] Updated inputs of %WS1%/contents/RL-algorithms.tex .
[02:43:09][Cacher] Updated inputs of %WS1%/main.tex .
[02:43:10][DupLabel] Checking for duplicate labels: %WS1%/commands.tex .
[02:43:10][Cacher] Updated elements of %WS1%/commands.tex .
[02:43:10][Cacher] Bib %WS1%/references.bib from %WS1%/commands.tex .
[02:43:10][Intelli][Citation] Parsing .bib entries from %WS1%/references.bib
[02:43:10][Cacher][Watcher] Watched %WS1%/references.bib with a new watcher on %WS1% .
[02:43:10][Cacher] Updated bibs of %WS1%/commands.tex .
[02:43:10][Cacher] Cached %WS1%/commands.tex .
[02:43:10][Server] valdOrigin is http://127.0.0.1:52286
[02:43:10][DupLabel] Checking for duplicate labels: %WS1%/contents/brief-introduction-to-rl.tex .
[02:43:10][Cacher] Updated elements of %WS1%/contents/brief-introduction-to-rl.tex .
[02:43:10][Cacher] Updated bibs of %WS1%/contents/brief-introduction-to-rl.tex .
[02:43:10][Cacher] Cached %WS1%/contents/brief-introduction-to-rl.tex .
[02:43:10][DupLabel] Checking for duplicate labels: %WS1%/contents/finite-mdp-and-rl.tex .
[02:43:10][Cacher] Updated elements of %WS1%/contents/finite-mdp-and-rl.tex .
[02:43:10][Cacher] Updated bibs of %WS1%/contents/finite-mdp-and-rl.tex .
[02:43:10][Cacher] Cached %WS1%/contents/finite-mdp-and-rl.tex .
[02:43:10][DupLabel] Checking for duplicate labels: %WS1%/contents/RL-algorithms.tex .
[02:43:10][Cacher] Updated elements of %WS1%/contents/RL-algorithms.tex .
[02:43:10][Cacher] Updated bibs of %WS1%/contents/RL-algorithms.tex .
[02:43:10][Cacher] Cached %WS1%/contents/RL-algorithms.tex .
[02:43:10][DupLabel] Checking for duplicate labels: %WS1%/main.tex .
[02:43:10][Cacher] Updated elements of %WS1%/main.tex .
[02:43:10][Cacher] Updated bibs of %WS1%/main.tex .
[02:43:10][Cacher] Cached %WS1%/main.tex .
[02:43:10][Cacher][Path] Non-existent .fls for %WS1%/main.tex .
[02:43:11][Structure] Structure force updated with 5 root sections for %WS1%/main.tex .
[02:43:11][Intelli][Citation] Parsed 6 bib entries from %WS1%/references.bib .
[02:43:11][Structure] Structure force updated with 5 root sections for %WS1%/main.tex .
[02:43:11][Commander] BUILD command invoked.
[02:43:11][Commander] The document of the active editor: file://%WS1%/main.tex
[02:43:11][Commander] The languageId of the document: latex
[02:43:11][Manager] Current workspace folders: ["file://%WS1%"]
[02:43:11][Manager] Found root file from active editor: %WS1%/main.tex
[02:43:11][Manager] Keep using the same root file: %WS1%/main.tex
[02:43:11][Structure] Structure updated with 5 root sections for %WS1%/main.tex .
[02:43:11][Commander] Building root file: %WS1%/main.tex
[02:43:11][Builder] Build root file %WS1%/main.tex
[02:43:11][Builder] outDir: %WS1%/output .
[02:43:11][Builder] Preparing to run recipe: xelatexmk-shell.
[02:43:11][Builder] Prepared 1 tools.
[02:43:11][Builder] Recipe step 1 The command is latexmk:["-synctex=1","-shell-escape","-interaction=nonstopmode","-file-line-error","-xelatex","-outdir=%WS1%/output","%WS1%/main"].
[02:43:11][Builder] env: {}
[02:43:11][Builder] root: %WS1%/main.tex
[02:43:11][Builder] cwd: %WS1%
[02:43:11][Builder] LaTeX build process spawned with PID 6468.
[02:43:16][Commander] VIEW command invoked with mode: file:///Users/[retracted]/Library/CloudStorage/GoogleDrive-[retracted]/Reinforcement-Learning-Beamer/main.tex.
[02:43:16][Manager] Current workspace folders: ["file://%WS1%"]
[02:43:16][Manager] Found root file from active editor: %WS1%/main.tex
[02:43:16][Manager] Keep using the same root file: %WS1%/main.tex
[02:43:16][Structure] Structure updated with 5 root sections for %WS1%/main.tex .
[02:43:16][Viewer][Panel] Internal PDF viewer at http://127.0.0.1:52286/viewer.html?file=pdf..ZmlsZSUzQSUyRiUyRiUyRlVzZXJzJTJGa2hhaXRyYW4lMkZMaWJyYXJ5JTJGQ2xvdWRTdG9yYWdlJTJGR29vZ2xlRHJpdmUtdHFraGFpY2R0JTQwZ21haWwuY29tJTJGTXklMjBEcml2ZSUyRlRlWCUyMFByb2plY3QlMkZQaEQlMkZSZWluZm9yY2VtZW50LUxlYXJuaW5nLUJlYW1lciUyRm91dHB1dCUyRm1haW4ucGRm .
[02:43:16][Cacher][Watcher] Watched %WS1%/output/main.pdf with a new watcher on %WS1%/output .
[02:43:16][Viewer] Open PDF tab for file://%WS1%/output/main.pdf
[02:43:17][Viewer] Handle data type: open
[02:43:17][Server] Preview PDF file: file://%WS1%/output/main.pdf
[02:43:17][Viewer] Handle data type: loaded
[02:43:17][Viewer] SyncTex after build invoked.
[02:43:17][Locator] Forward from %WS1%/main.tex to %WS1%/output/main.pdf on line 1.
[02:43:17][SyncTeX] Parsing .synctex.gz %WS1%/output/main.synctex.gz .
[02:43:17][Viewer] Try to synctex %WS1%/output/main.pdf
[02:43:29][Parser][TexLog] Logged 0 messages.
[02:43:29][Builder] Finished a step in recipe with PID 6468.
[02:43:29][Builder] Successfully built %WS1%/main.tex .
[02:43:29][Viewer] Call refreshExistingViewer: "%WS1%/main.tex" .
[02:43:29][Viewer] Refresh PDF viewer: undefined
[02:43:29][Cacher] Parsing .fls %WS1%/output/main.fls .
[02:43:29][Cacher] Adding %WS1%/figures/alphago.jpg .
[02:43:29][Cacher][Watcher] Watched %WS1%/figures/alphago.jpg with a new watcher on %WS1%/figures .
[02:43:29][Cacher] Adding %WS1%/figures/MDP-diagram.pdf .
[02:43:29][Cacher][Watcher] Watched %WS1%/figures/MDP-diagram.pdf .
[02:43:29][Cacher] Adding %WS1%/figures/backup-diagram-RL.pdf .
[02:43:29][Cacher][Watcher] Watched %WS1%/figures/backup-diagram-RL.pdf .
[02:43:29][Cacher] Adding %WS1%/figures/backup-diagram-optimality.pdf .
[02:43:29][Cacher][Watcher] Watched %WS1%/figures/backup-diagram-optimality.pdf .
[02:43:29][Cacher] Found .aux %WS1%/main.tex from .fls %WS1%/output/main.fls , parsing.
[02:43:29][Cacher] Parsed .aux %WS1%/main.tex .
[02:43:29][Cacher] Parsed .fls %WS1%/output/main.fls .
[02:43:29][Builder] Auto Clean invoked.
[02:43:29][Cleaner] Clean glob matched files {"globs":["./**/*.aux","./**/*.bbl","./**/*.blg","./**/*.idx","./**/*.ind","./**/*.lof","./**/*.lot","./**/*.out","./**/*.toc","./**/*.acn","./**/*.acr","./**/*.alg","./**/*.glg","./**/*.glo","./**/*.gls","./**/*.fls","./**/*.log","./**/*.fdb_latexmk","./**/*.snm","./**/*.synctex(busy)","./**/*.synctex.gz(busy)","./**/*.nav","./**/*.vrb","./**/emptyfolder*/"],"outdir":"%WS1%/output"} .
[02:43:29][Cleaner] Ignore folder glob patterns with globstar:  .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.toc .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.snm .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.out .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.nav .
[02:43:29][Server] Preview PDF file: file://%WS1%/output/main.pdf
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.log .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.fls .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.fdb_latexmk .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.blg .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.bbl .
[02:43:29][Cleaner] Cleaning file %WS1%/output/main.aux .
[02:43:29][Viewer] Handle data type: loaded
[02:43:29][Viewer] SyncTex after build invoked.
[02:43:29][Locator] Forward from %WS1%/main.tex to %WS1%/output/main.pdf on line 1.
[02:43:29][SyncTeX] Parsing .synctex.gz %WS1%/output/main.synctex.gz .
[02:43:29][Viewer] Try to synctex %WS1%/output/main.pdf
[02:43:29][Cacher][Watcher] "change" emitted on %WS1%/output/main.pdf after polling for 256 ms.
[02:44:04][Commander] CLEAN command invoked.
[02:44:04][Manager] Current workspace folders: ["file://%WS1%"]
[02:44:04][Manager] Found root file from active editor: %WS1%/main.tex
[02:44:04][Manager] Keep using the same root file: %WS1%/main.tex
[02:44:04][Structure] Structure updated with 5 root sections for %WS1%/main.tex .
[02:44:04][Cleaner] Clean glob matched files {"globs":["./**/*.aux","./**/*.bbl","./**/*.blg","./**/*.idx","./**/*.ind","./**/*.lof","./**/*.lot","./**/*.out","./**/*.toc","./**/*.acn","./**/*.acr","./**/*.alg","./**/*.glg","./**/*.glo","./**/*.gls","./**/*.fls","./**/*.log","./**/*.fdb_latexmk","./**/*.snm","./**/*.synctex(busy)","./**/*.synctex.gz(busy)","./**/*.nav","./**/*.vrb","./**/emptyfolder*/"],"outdir":"%WS1%/output"} .
[02:44:04][Cleaner] Ignore folder glob patterns with globstar:  .

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:398  WARN Via 'product.json#extensionEnabledApiProposals' extension 'github.vscode-pull-request-github' wants API proposal 'commentsResolvedState' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:404   ERR Extension 'ms-toolsai.vscode-jupyter-powertoys' wants API proposal 'notebookWorkspaceEdit' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
TMScopeRegistry.ts:47 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/[retracted]/.vscode/extensions/james-yu.latex-workshop-9.7.0/syntax/TeX.tmLanguage.json
register @ TMScopeRegistry.ts:47
TMScopeRegistry.ts:47 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/[retracted]/.vscode/extensions/james-yu.latex-workshop-9.7.0/syntax/LaTeX.tmLanguage.json
register @ TMScopeRegistry.ts:47
TMScopeRegistry.ts:47 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/[retracted]/.vscode/extensions/james-yu.latex-workshop-9.7.0/syntax/Bibtex.tmLanguage.json
register @ TMScopeRegistry.ts:47
TMScopeRegistry.ts:47 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/[retracted]/.vscode/extensions/james-yu.latex-workshop-9.7.0/syntax/markdown-latex-combined.tmLanguage.json
register @ TMScopeRegistry.ts:47
TMScopeRegistry.ts:47 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/[retracted]/.vscode/extensions/james-yu.latex-workshop-9.7.0/syntax/cpp-grammar-bailout.tmLanguage.json
register @ TMScopeRegistry.ts:47
TMScopeRegistry.ts:47 Overwriting grammar scope name to file mapping for scope source.cpp.embedded.macro.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.embedded.macro.tmLanguage.json.
New grammar file: file:///Users/[retracted]/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.17.2/autogenerated/cpp.embedded.macro.tmLanguage.json
register @ TMScopeRegistry.ts:47
TMScopeRegistry.ts:47 Overwriting grammar scope name to file mapping for scope source.cpp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/cpp/syntaxes/cpp.tmLanguage.json.
New grammar file: file:///Users/[retracted]/.vscode/extensions/jeff-hykin.better-cpp-syntax-1.17.2/autogenerated/cpp.tmLanguage.json
register @ TMScopeRegistry.ts:47
log.ts:404   ERR [Extension Host] (node:6424) [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:6424) [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)
I @ console.ts:137
console.ts:137 [Extension Host] [vscode-icons] v12.2.0 activated!
log.ts:392  INFO [perf] Render performance baseline is 19ms
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:52286/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:52286/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:52286/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:52286/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:52286/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:52286/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:52286/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:52286/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:52286/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:52286/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:52286/build/pdf.worker.js.map: Fetch through target failed: Target not supported; Fallback: Unknown error

Anything Else?

Add any other context about the problem below.

James-Yu commented 1 year ago

3350 #3353