nemesv / vscode-copy-file-name

Extension for Visual Studio Code for coping the name of the currently active file.
https://marketplace.visualstudio.com/items?itemName=nemesv.copy-file-name
MIT License
8 stars 1 forks source link

You should consider adding Right-click #3

Closed kaanuki closed 5 years ago

kaanuki commented 5 years ago

Using this extension is just as much work as typing the file name. A quick Right-click method of copying the name would be very useful.

nemesv commented 5 years ago

I usually use the keyboard shortcuts and don't search for the commands. However have them available in the context menu is actually a good idea.

I've pushed out a new version where the copy commands are accessible from the Explorer and the Editor title (clicking on the editor tab) context menus

image

kaanuki commented 5 years ago

Just added it - AWESOME!👍

When you have a chance, update your description and/or add the video graphic demonstrating this new feature (even the image used above would be helpful).

Lily-Huyen commented 5 years ago

Ctrl + Alt + F/E do not work for me? Right click work as description but I cannot use hotkey. After install the extension, do I need another step to make it work? I'm new with VSCode.

Thanks

nemesv commented 5 years ago

@Lily-Huyen normally you don't need to configure anything else after the installation. However it can happen that an another extension is conflicting on the shortcuts.

Could you check your File -> Preferences -> Keyboard Settings and look for the copy file name mappings?

image

Beside that the shortcuts are only working when you are opened a file in the main editor and the editor is in focus (e.g. a cursor is in the window)