James-Yu / LaTeX-Workshop

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

Feature Request: Enhance or Disable Breadcrumbs for PDF Files #4235

Closed singularitti closed 3 months ago

singularitti commented 3 months ago

I am reaching out to suggest an enhancement related to the breadcrumb functionality in Visual Studio Code when viewing PDF files using the LaTeX Workshop extension. Currently, when opening a PDF, such as main.pdf, both the editor tab and breadcrumb display the filename main.pdf. This redundancy does not provide additional navigational utility, particularly when the breadcrumb does not interact with the internal structure of the PDF, such as chapters or sections, which could be potentially useful.

image

Issue Description

image

Feature Request

  1. Dynamic Breadcrumb Content: Ideally, it would be fantastic if the breadcrumb could reflect the internal structure of the PDF (like chapters or sections listed in the PDF's bookmarks/catalogue). This would turn the breadcrumb into a useful tool for navigating through the document.
  2. Breadcrumb Disable Option: If integrating dynamic content proves too complex, an alternative solution would be to provide an option to disable the breadcrumb display entirely when viewing PDFs through LaTeX Workshop. This would clean up the UI by removing the redundant display.
James-Yu commented 3 months ago

Unfortunately, I don't think it is possible via extension-side configuration. I would suggest filing an issue on vscode repo, mentioning breadcrumb for custom editor tabs and custom webviews.

singularitti commented 3 months ago

Thanks for the reply!