vscode-fileutils icon indicating copy to clipboard operation
vscode-fileutils copied to clipboard

features: copy file name

Open mistkafka opened this issue 7 years ago • 4 comments

how about support these "copy" features?

  • [x] copy full file name
  • [ ] copy full file name relative to git root (if in a git repo)
  • [x] copy file name only
  • [x] copy path
  • [ ] copy path relative to git root (if in a git repo)

mistkafka avatar Aug 08 '18 09:08 mistkafka

@mistkafka could you please provide an example for copy file name only and copy full file name

sleistner avatar Sep 04 '18 15:09 sleistner

@sleistner First things first, thanks for putting this extension together. Can’t believe VSC doesn’t support file and folder duplication by default. Now, why does the extension feature "Copy Name Of Active File" vs "Copy Name" like Side​Bar​Enhancements? Thanks!

sunknudsen avatar Dec 20 '18 15:12 sunknudsen

Adding a bit of context to the above comment.

By default, VSC opens the welcome screen. When the welcome screen is the active file, when I right-click and select "Copy Name Of Active File", vs_code_welcome_page is copied to the clipboard which is coherent with the name of the action but differs from how Side​Bar​Enhancements works.

I guess that’s an edge case, but it got me thinking about why the extension copies active file vs the file that is selected using the mouse?

sunknudsen avatar Dec 20 '18 18:12 sunknudsen

I have set a keybind for vscode copyFilePath command, but it would be nice to be able to type fu copy in command palette.

a-pav avatar Dec 01 '23 11:12 a-pav