Visual Studio Code in Ubuntu hotKey for copy Path of Active File

110 Views Asked by At

In Visual Studio Code (OS kUbuntu) is a hotKeys for

  • copy Path of Active File configured but not works (Ctrl+Shift+C).

i also tried changed the hotkey to:

  1. Ctrl+ü
  2. Ctrl+,
  3. AltGr+,
  4. Ctrl+`

every hotkey was possible to config in code but code ignores it. it looks good but do nothing if i use hotkey (works if i use mouse click):

correct config

at the end i needed to create a workaround written in autoKey:

# script codeCopyPath_CtrlShictC
import time
keyboard.send_keys('<ctrl>+<shift>+a') # open the properties menu in studio code
time.sleep(.2)
keyboard.send_keys('copy Path of Active File<down><enter>')

that was the only way for me at the moment to have Ctrl+Shift+C for copy path. Any idea for get it fixed better? autKeyConfig

Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.13.0-40-generic
OS Type: 64-bit
0

There are 0 best solutions below