microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.33k stars 28.59k forks source link

keyboard shortcut to the csdevkit.addProjectReference command. #225764

Open Tallyclone opened 3 weeks ago

Tallyclone commented 3 weeks ago

Type: Feature Request

When I set the keyboard shortcut to the ' csdevkit. AddProjectReference 'command , VSCode report always read the properties of undefined 'contextValue (reading); I set the json code to { "key": "ctrl+shift+f1", "command": "csdevkit.addProjectReference", "when": "focusedView == 'solutionExplorer' && selectedSolutionExplorerNodeType == 'Project'" }, For what reason? Whether can set the keyboard shortcuts to 'csdevkit. AddProjectReference 'and 'csdevkit. AddNewFile 'commands, etc.

VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Windows_NT x64 10.0.19044 Modes:

aeschli commented 3 weeks ago

Can you get information about the exception? Can you open the Dev Tools (Command: Developer: Toggle Developer Tools) and go to the Console tab?

Tallyclone commented 3 weeks ago

Can you get information about the exception? Can you open the Dev Tools (Command: Developer: Toggle Developer Tools) and go to the Console tab?

yes! Snipaste_2024-08-19_10-47-54