Is your feature request related to a problem? Please describe.
I'm in the habit of using keyboard only navigation for traversing solutions:
Keybind to change focus between solution and editor
Using arrow keys to navigate up and down
Using hotkey to collapse/expand directory tree
using hotkey to copy/cut-paste
using hotkey to create directory and files
using shift+arrow up/down to select multiple files
using hotkey to rename file (and I'd like the option to automatically rename the contained type as well)
Describe the solution you would like
I've developed those habits within VS and now that I'm trying to switch to VS Code because of it's far superior text editor I find some of these options lacking or unpolished:
I can change focus
Using arrow keys works pretty much same as VS, so far so good
collapse/expand individual nodes using arrows is great, but I can't find a way to collapse all effectively - I've bound list.collapseAll which collapses the entire solution tree, rather than stopping at projects or solution dirs. While it's workable (and I believe workaround-able by creating a custom sequence of actions and key-binding that) I think a simple c# dev kit option to Keybind like solutionExplorer.CollapseProjectsAndSolutionFolders would be much better user experience
I don't see any option to cut/copy/paste solution file using hotkey
I can create directories and files, but it's clunky - in VS I'm used to simply navigating to the directory I want to create and pressing a hotkey. In VS code I can do something similar, but I have
navigate to directory
press tab, which selects "new file" option
press right arrow if in order to select "new directory" (if I want directory)
press enter to trigger the new dialog.
I've tried to keybind csdevkit.addNewFileFromFileMenu which seems to be what I'm after, but it behaves exactly like csdevkit.addNewFile, which simply opens a new editor tab with a class snippet. Then I have to manually save the file and select a directory location with explorer. This is obviously bonkers.
This does nothing in solution explorer and I cannot find a named command I can bind to that does it (should be default behavior IMO)
File rename hotkey exists, but there is no option that would rename the contained type as well, same goes in reverse - I'd like to be able to automatically rename the file when I rename the type same as VS default behavior. Furthermore sometimes renaming the file is buggy - it creates a new file with the new name and keeps the old. Doesn't happen always, but quite often. IDK if that's an extension problem though.
Additional context
Happy to help with further info, please contact me
Describe the feature you'd like
Originally filed at https://github.com/dotnet/vscode-csharp/issues/7799 by @achobanov
Is your feature request related to a problem? Please describe.
I'm in the habit of using keyboard only navigation for traversing solutions:
Describe the solution you would like
I've developed those habits within VS and now that I'm trying to switch to VS Code because of it's far superior text editor I find some of these options lacking or unpolished:
list.collapseAll
which collapses the entire solution tree, rather than stopping at projects or solution dirs. While it's workable (and I believe workaround-able by creating a custom sequence of actions and key-binding that) I think a simple c# dev kit option to Keybind likesolutionExplorer.CollapseProjectsAndSolutionFolders
would be much better user experienceI can create directories and files, but it's clunky - in VS I'm used to simply navigating to the directory I want to create and pressing a hotkey. In VS code I can do something similar, but I have
I've tried to keybind
csdevkit.addNewFileFromFileMenu
which seems to be what I'm after, but it behaves exactly likecsdevkit.addNewFile
, which simply opens a new editor tab with a class snippet. Then I have to manually save the file and select a directory location with explorer. This is obviously bonkers.Additional context
Happy to help with further info, please contact me
Alternatives considered
No response
Environment Information
No response