Skip to content

Copy Breadcrumbs plugin for Visual Studio Code. Based on Scott Blair's extension.

License

Notifications You must be signed in to change notification settings

cunneen/vscode-copy-breadcrumbs

Repository files navigation

Breadcrumb Copier Plugin for VSCode

icon

This is a fork of scott blair's copy breadcrumbs plugin for visual studio code.

What does it do?

It copies the Breadcrumbs at the top of your VSCode's editor pane, into the clipboard (or optionally to the local terminal).

For example, while I'm typing the contents of this README.md, the current breadcrumb is showing: > Users > mikecunneen > Development > vscode-copy-breadcrumbs > cunneen-copy-breadcrumbs > README.md > # Breadcrumb Copier Plugin for VSCode > ## What does it do?

Sit tight, we're about to enter inception-mode:

If, for example, you were editing this very README file and you wanted to grab the breadcrumb, you would simply open the Command Palette and choose "Copy Breadcrumb".

screen recording

Background

The original plugin worked nicely (thank you Scott Blair) but I forked it because I wanted to:

  • examine the plugin's code, but there was not GitHub repo attached to the plugin
  • contribute a feature (configurable breadcrumb path separation characters), but... there was no repo to which I could submit pull requests
  • contribute some documentation but... you get the idea.

Extension Settings

This extension contributes the following settings:

  • cunneen-copy-breadcrumbs.pasteToTerminal (boolean): If enabled, will automatically paste the breadcrumb path into the active terminal upon copy command (default: false)
  • cunneen-copy-breadcrumbs.copyToClipboard (boolean): If enabled, will copy the breadcrumb path to the clipboard upon copy command (default: true)
  • cunneen-copy-breadcrumbs.showAlert (boolean): If enabled, will show an alert upon copy command (default: true)
  • cunneen-copy-breadcrumbs.separationString (string): The string to use as a path separator (default: " > ")

The following commands are available via the command palette:

  • cunneen-copy-breadcrumbs.copy: Copy Breadcrumb
  • cunneen-copy-breadcrumbs.copy-last: Copy Breadcrumb - Last Part Only

Known Issues

None as yet

Release Notes

See the Changelog

About

Copy Breadcrumbs plugin for Visual Studio Code. Based on Scott Blair's extension.

Resources

License

Stars

Watchers

Forks

Packages

No packages published