简体   繁体   中英

How Can I Apply VS Code Keyboard Shortcuts to Visual Studio 2017

Preface:
I'm a long-time user of VS Code for JavaScript and .NET Core. I think it's a great tool and I am extremely productive in it for most of my work. There are times, however, where I need to use Visual Studio 2017 for .NET Framework projects.

Question:
Is there a way to import my VS Code keyboard shortcuts into Visual Studio 2017 without manually altering the individual shortcuts in Visual Studio 2017?

I am not sure about in Visual Studio 2017 but in Visual Studio 2019, you can go to:

Tools -> Options -> Environment -> Keyboard and apply the Visual Studio Code Mapping.

It is not a perfect mapping but it gets you most of the way there. One of the big ones I had to change was Edit.GoToDefinition to be f12

But it works pretty well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM