vscode
vscode copied to clipboard
extension get wrong resource in context key when right click a folder with subfolder
For below folder structure 'builtIn\res' , if you right click on the 'builtIn' not 'bulitIn\res', then you use the 'Inspect Context Key' command to show the context , the 'resource' in the context keys is always 'builtIn\res' not 'builtIn' .
- VS Code Version:
- OS Version: Version: 1.96.2 (user setup) Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f Date: 2024-12-19T10:22:47.216Z Electron: 32.2.6 ElectronBuildId: 10629634 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.26100
Steps to Reproduce:
- run 'Inspect Context Key' command
- right click on a folder which contains a subfolder in the same row in file explorer
- check the 'resource' in context keys
I think there's a duplicate bug for this somewhere, but I cannot find it at the moment. Do you see this if you disable compact folder?
I think there's a duplicate bug for this somewhere, but I cannot find it at the moment. Do you see this if you disable compact folder?
Just confirmed that this issue only applies to the compact folder