-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go to symbol in workspace shortcut in Codespaces (browser) is CTRL-T. #232381
Comments
This is a tricky one... and near impossible to sort out. You can see we've tried to sort this for other things: I'm open to suggestions if you come up with a good keybinding that:
Some maybe less than ideal workarounds:
|
Hey to address this issue, i want to introduce a new keyboard shortcut such as : Ctrl+Shift+Alt+T. This shortcut will be specifically designed for VS Code's web environments, ensuring seamless navigation within our codebase without any browser interference. For a quicker alternative, we can also use the Ctrl+K T shortcut. This shorter sequence provides a convenient way to access the same functionality. feel free to add any suggestions or lets discuss the approach. |
how would i like to work on this issue |
Suggestion for a New Shortcut Ctrl+Shift+Alt+T: This combination is comprehensive and avoids conflicts but might be a bit cumbersome. Ctrl+K T: A more compact and user-friendly alternative that is easy to remember and use. Steps to Implement the Suggestion Open the keybindings.json file in Codespaces. Add or update the keybinding for the "Go to symbol in workspace" command. Example configuration: json json Documentation and Communication: Document the change in the project’s README or relevant documentation files. Communicate the change with the community or team to ensure everyone is aware of the new shortcut. |
Can we use CTRL + ALT + T instead, which more aligns with the same key in electron app ? Example Configuration for codespaces |
That's a great suggestion! Using CTRL + ALT + T can indeed provide a consistent experience across both the web and Electron app versions of VS Code. Example Configuration for Codespaces json Press CTRL + K followed by CTRL + S to open the Keyboard Shortcuts editor. Click on the icon in the top-right corner to open keybindings.json. Add the Custom Keybinding: Paste the JSON configuration above into your keybindings.json. Save the File: Save the keybindings.json file to apply the new keybinding. By implementing this new shortcut, you should have a more seamless and consistent experience when using the "Go to symbol in workspace" command in Codespaces. |
Hello @TylerLeonhardt,
Do you have any suggestions or alternative approaches? Should I proceed with this implementation? Also, if you don't mind, could you please point me to the specific file where this change needs to be made? I tried searching for Ctrl + T but am having difficulty locating the exact file to modify. |
@codewithunknown try searching for the command instead of the keybinding. I think this looks like a reasonable choice for now. |
Keyboard shortcut for Go to symbol in workspace is CTRL-T. But in codespaces context (in a browser) this opens a new browser tab. So there probably needs to be an alternative default in this hosting scenario.
Version: 1.94.2
Commit: 384ff73
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
Embedder: codespaces
The text was updated successfully, but these errors were encountered: