github kccarlos/pastemax v1.1.1
PasteMax v1.1.1

one month ago

Highlights

  • Tree-style tooltips for selected files

    • Hover over a filename in the Selected Files view to see a multi-line, workspace‑relative tree path. This makes nested folders and long paths easy to scan at a glance.
  • Show Line Numbers (new global toggle)

    • Quickly enable line numbers in copied file content for clearer reviews and references.
    • Toggle is available in Copy Settings. When enabled, each line in copied code is prefixed with its line number.
  • Syntax highlighting in file preview

    • File previews now render with language-aware syntax coloring based on file extension for easier reading and faster comprehension.

Details

  • Tooltips now display a compact ASCII tree from the workspace root down to the file, improving orientation in large repos.
  • Line numbers integrate with existing copy formatting (file tree, binary path options) without changing layout.
  • Syntax highlighting supports common languages out of the box; detection is based on extension.

Why this matters

  • Faster navigation: Understand where a file lives without expanding the sidebar.
  • Clearer collaboration: Numbered lines make review comments precise and unambiguous.
  • Reduced strain: Colorized previews improve readability and scanning.

How to use

  • Hover: In Selected Files → hover a file name to view its tree path.
  • Line numbers: Copy Settings → enable “Show line numbers” before copying content.
  • Syntax colors: Open any file preview; highlighting applies automatically.

Notes

  • No changes to existing workflows; all features are additive and off by default (except syntax highlighting).
  • If paths appear absolute, ensure a workspace is selected; tooltips will show workspace‑relative paths when available.

Changelog (technical)

  • Added buildAsciiPath + toWorkspaceRelative utilities to render workspace-relative, multi-line tooltips.
  • Added “Show line numbers” toggle; wired into content formatter to prefix code lines in copy output.
  • Integrated syntax highlighting in file preview using language detection by filename.

Don't miss a new pastemax release

NewReleases is sending notifications on new releases.