There are several answered questions about importing VSCode keybindings into Visual Studio, but I need to do the opposite.
My VS 2019 keyboard scheme (on Windows) is based on the "Visual C++ 6" mapping with additional customizations and I would like to use the same in Visual Studio Code (on Linux).
Related
Because of the M1 native support i started using Visual Studio 2022 Preview 5 (build 6509). The only problem i have is that i can't change my keyboard shortcuts. I can change the scheme but not any command separate. I have tried to use the Visual Studio Code scheme because on my instance of Visual Studio Code every shortcut is set correct (for me ;)).
Is there some sort of workaround to edit the keyboard shortcuts?
Cheers
I had the same issue, my workaround was to install the Visual Studio 2019 on my M1 MacBook and edit the shortcuts on the "old" version, seems like they share same .properties file.
I use Visual Studio 2021 for Mac, and whenever I try to install a .vsix file(cause all color themes use them for some reason) it doesn't install and instead does this. Any solutions? Thanks!
I don't have a Mac, so this might be a partial answer.
It doesn't look like Visual Studio for Mac currently supports .vsix files, and thus doesn't support any extension shipped with that format. According to a Visual Studio issue from 2017, it instead supports .mpack files. The instructions on developing extensions for Visual Studio (for Windows) has a note with a link labelled "Extending Visual Studio for Mac" but it redirects to a page detailing the more limited built-in ways for a user to customize their IDE.
That being said, I'm pretty sure Visual Studio for Mac is based on MonoDevelop, which has add-ins. Maybe Visual Studio for Mac does as well.
I have Visual Studio installed in one PC in which text editor is format redundant code by color (as shown in the screen shot).
I want to activate this in visual studio copy installed on another PC.
That is not a Visual Studio feature, it is one of ReSharper Code Inspection features, hence you'll need to install ReSharper on the computer where you'd like to see this code coloring...
This is a visual studio (mine is 2015) feature and should be enabled. By default it should be enabled, but am not sure what version of visual studio you are using. You can enable it by going to Visual Studio -> Tools menu -> Options
can you please share keyboard shortcuts that you used regularly in Visual Studio 2015 or 2017. Also if you can share the link to download keyboard scheme for visual studio. Thanks
Visual Studio Keyboard Short Cuts This covers version(s) 2012-2017
i've created binding for Visual Studio's Edit.BriefBookmarkDropx commands:
Edit.BriefBookmarkDrop1: Ctrl+Shift+1
Edit.BriefBookmarkDrop2: Ctrl+Shift+2
Edit.BriefBookmarkDrop3: Ctrl+Shift+3
...
Edit.BriefBookmarkDrop9: Ctrl+Shift+9
Using Tools -> Options -> Keyboard:
Except that when i hit Ctrl+Shift+2, nothing happens:
i know Microsoft likes to obfuscate Visual Studio features. What's the secret trick that i'm missing?
Note: i am installed DPack into Visual Studio Professional - an addon that provides brief bookmarks (and a number of other essential features). Do not confuse this for an answer to my question:
you cannot install addons into Visual Studio Express
you cannot install addons into the Visual Studio Shell
my question isn't about addons
Bonus Reading
MSDN: How to: Use Bookmarks with Brief Emulation (Visual Studio 2008)
Numbered Bookmarks addon for Visual Studio 2005
DPak Numbered Bookmarks
It took four years, but i figured it out. Everything i was doing was correct. The only issue is that Visual Studio is stupid. Here's how to configure Visual Studio to drop a Brief bookmark:
How's that different from what i showed in the question?
Fails Use new shortcut in: Global
Works Use new shortcut in: Text Editor
By default any keys you bind in the Global space do nothing.
Which begs the question why the option is there, and the default? But usability is not something Visual Studio team prides itself on.