我得编程几年已经养成了修改eclipse android studio 等jetbrain的工具全家桶 ,xcode ,visual studio 快捷键的习惯,对于不支持修改的,我无力吐槽,如小程序,不过发现不输入快捷键好像死不了人。
alt+w
当前行上移
alt+s
当前行下移动
alt+u alt+o
移动到行首行尾
alt+c
强转类型
alt+m
提取方法
alt+i
提取接口
alt+d
删除行
alt+z
撤销
alt+n
复制当前行到下一阿红
shift +w
插入空白行到前面
ctrl+shift+f
格式化
alt+?
提示
alt+p
参数提示
shift+alt+w'
上开新行
shift+alt=s
下开新行
···alt+m提取方法接口
alt+l重构。
shift +ctrl+f格式化
ctrl+shift+x大小写切换
ctrl+/注释 ···ctrl+/+shift
取消注释
暂时只养成了这些习惯.我感觉我编程几年暂时该不掉了
以前玩eclipse的时候还有alt+t tostring alt+y
一键set get alt+c
一键强转类型啥的。
不啰嗦了,as的 快捷键编辑修改 俄罗斯快捷键工具应该都会 搜索编辑
导出导入
然后选择键盘..
最后附上文件,抱歉,我懒得上传网盘,直接把配置文件粘贴到这里了。
新建文件创建vssetting后缀名
Exported-2018-04-15true_keymaps.vssettings
<UserSettings><ApplicationIdentity version="15.0"/><ToolsOptions><ToolsOptionsCategory name="Environment" RegisteredName="Environment"/></ToolsOptions><Category name="Environment_Group" RegisteredName="Environment_Group"><Category name="Environment_KeyBindings" Category="{F09035F1-80D2-4312-8EC4-4D354A4BCB4C}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_KeyBindings" PackageName="Visual Studio Environment Package"><Version>15.0.0.0</Version><KeyboardShortcuts><ScopeDefinitions><Scope Name="团队资源管理器" ID="{7AA20502-9463-47B7-BF43-341BAF51157C}"/><Scope Name="VC 对话框编辑器" ID="{543E0C02-8C85-4E43-933A-5EF320E3431F}"/><Scope Name="查找所有引用工具窗口" ID="{1FA1FD06-3592-4D1D-AC75-0B953320140C}"/><Scope Name="实时属性资源管理器" ID="{31FC2115-5126-4A87-B2F7-77EAAB65048B}"/><Scope Name="XML (文本)编辑器" ID="{FA3CD31E-987B-443A-9B81-186104E8DAC1}"/><Scope Name="文本编辑器" ID="{8B382828-6202-11D1-8870-0000F87579D2}"/><Scope Name="工作项结果视图" ID="{7026002D-01F6-44E7-95CF-A896C00DA3F8}"/><Scope Name="解决方案资源管理器" ID="{3AE79031-E1BC-11D0-8F78-00A0C9110057}"/><Scope Name="查询设计器" ID="{B2C40B32-3A37-4CA9-97B9-FA44248B69FF}"/><Scope Name="带编码功能的 CSharp 编辑器" ID="{08467B34-B90F-4D91-BDCA-EB8C8CF3033A}"/><Scope Name="Web 浏览器" ID="{E8B06F41-6D01-11D2-AA7D-00C04F990343}"/><Scope Name="CSS 编辑器" ID="{A5401142-F49D-43DB-90B1-F57BA349E55C}"/><Scope Name="图形设计器" ID="{58961B49-13E0-48C0-9258-13CBC4D40279}"/><Scope Name="AppManifestDesigner" ID="{4D47164B-07B6-4A52-A855-728D6A2E2AA3}"/><Scope Name="数据集编辑器" ID="{B334A759-F450-40A5-BE2A-65937BCD5415}"/><Scope Name="XAML 设计器" ID="{E9B8485C-1217-4277-9ED6-C825A5AC1968}"/><Scope Name="查看设计器" ID="{B968E165-98E0-41F0-8FBE-A8ED1D246A90}"/><Scope Name="XAML 编辑器" ID="{A4F9FF65-A78C-4650-866D-5069CC4127CF}"/><Scope Name="Microsoft Visual Basic 编辑器" ID="{2C015C70-C72C-11D0-88C3-00A0C9110049}"/><Scope Name="全局" ID="{5EFC7975-14BC-11CF-9B2B-00AA00573819}"/><Scope Name="HTML 编辑器" ID="{40D31677-CBC0-4297-A9EF-89D907823A98}"/><Scope Name="实时可视化树" ID="{A2EAF38F-A0AD-4503-91F8-5F004A69A040}"/><Scope Name="工作项查询视图" ID="{B6303490-B828-410C-9216-AE727D0E282D}"/><Scope Name="DOM 资源管理器" ID="{01E50993-E6A4-491E-AB3F-3A9939DE3524}"/><Scope Name="Team Foundation Build 详细信息编辑器" ID="{86306A97-84F2-4F5A-889B-1318501AEB5F}"/><Scope Name="数据库设计器" ID="{CFF78A9B-78A3-45A3-9142-0267AFC261FA}"/><Scope Name="工作项编辑器" ID="{40A91D9D-8076-4D28-87C5-5AF9F0ACFE0F}"/><Scope Name="JSON 编辑器" ID="{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"/><Scope Name="CSharp 编辑器" ID="{A6C744A8-0E4A-4FC6-886A-064283054674}"/><Scope Name="VC 字符串编辑器" ID="{58442DA9-10DA-4AA9-A2AF-96E4D481379B}"/><Scope Name="交互窗口" ID="{2D0A56AA-9527-4B78-B6E6-EBE6E05DA749}"/><Scope Name="合并编辑器窗口" ID="{9A9A8AAA-ACD2-4DB6-BD81-8D64176C52B6}"/><Scope Name="Microsoft Visual Basic 代码页编辑器" ID="{6C33E1AA-1401-4536-AB67-0E21E6E569DA}"/><Scope Name="设置设计器" ID="{515231AD-C9DC-4AA3-808F-E1B65E72081C}"/><Scope Name="Windows 窗体设计器" ID="{BA09E2AF-9DF2-4068-B2F0-4C7E5CC19E2F}"/><Scope Name="VC 快捷键编辑器" ID="{EB56D0B5-BEE7-4D0C-8BE6-88A8ED256695}"/><Scope Name="托管资源编辑器" ID="{FEA4DCC9-3645-44CD-92E7-84B55A16465C}"/><Scope Name="JavaScript 控制台" ID="{074F1AD9-308B-488C-861E-CF88182E2788}"/><Scope Name="差异查看器" ID="{79D52DDF-52BC-43F1-9663-B3E85CDCA912}"/><Scope Name="表设计器" ID="{4194FEE5-6777-419F-A5FC-47A536DF1BDB}"/><Scope Name="HTML 编辑器设计视图" ID="{CB3FCFEA-03DF-11D1-81D2-00A0C91BBEE3}"/><Scope Name="HTML 编辑器源视图" ID="{CB3FCFEB-03DF-11D1-81D2-00A0C91BBEE3}"/><Scope Name="VC 图像编辑器" ID="{C0BA70ED-069E-412B-9C06-7442E28A11B9}"/><Scope Name="测试资源管理器" ID="{E1B7D1F8-9B3C-49B1-8F4F-BFC63A88835D}"/><Scope Name="XML 架构设计器" ID="{DEE6CEF9-3BCA-449A-82A6-FC757D6956FB}"/></ScopeDefinitions><DefaultShortcuts><Shortcut Command="View.ViewCode" Scope="全局">F7</Shortcut><Shortcut Command="View.ViewDesigner" Scope="全局">Shift+F7</Shortcut></DefaultShortcuts><ShortcutsScheme/><UserShortcuts><Shortcut Command="Edit.LineDelete" Scope="全局">Alt+D</Shortcut><Shortcut Command="Refactor.ExtractInterface" Scope="全局">Alt+I</Shortcut><Shortcut Command="Refactor.ExtractMethod" Scope="全局">Alt+M</Shortcut><Shortcut Command="Edit.LineEnd" Scope="全局">Alt+O</Shortcut><Shortcut Command="Edit.LineStart" Scope="全局">Alt+U</Shortcut><Shortcut Command="Edit.MoveSelectedLinesDown" Scope="全局">Alt+S</Shortcut><Shortcut Command="Edit.InsertSnippet" Scope="全局">Alt+Q</Shortcut><Shortcut Command="Edit.MoveSelectedLinesUp" Scope="全局">Alt+W</Shortcut><Shortcut Command="Edit.LineOpenAbove" Scope="全局">Alt+E</Shortcut><RemoveShortcut Command="Edit.EmacsLineOpen" Scope="全局">Alt+N</RemoveShortcut></UserShortcuts></KeyboardShortcuts></Category></Category></UserSettings>
文件名编码是这样的
如果某些快捷键不生效了,可以先导出来,然后把里面的RemoveShortcut
改成Shortcut
,
<UserSettings><ApplicationIdentity version="15.0"/><ToolsOptions><ToolsOptionsCategory name="Environment" RegisteredName="Environment"/></ToolsOptions><Category name="Environment_Group" RegisteredName="Environment_Group"><Category name="Environment_KeyBindings" Category="{F09035F1-80D2-4312-8EC4-4D354A4BCB4C}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_KeyBindings" PackageName="Visual Studio Environment Package"><Version>15.0.0.0</Version><KeyboardShortcuts><ScopeDefinitions><Scope Name="团队资源管理器" ID="{7AA20502-9463-47B7-BF43-341BAF51157C}"/><Scope Name="VC 对话框编辑器" ID="{543E0C02-8C85-4E43-933A-5EF320E3431F}"/><Scope Name="查找所有引用工具窗口" ID="{1FA1FD06-3592-4D1D-AC75-0B953320140C}"/><Scope Name="实时属性资源管理器" ID="{31FC2115-5126-4A87-B2F7-77EAAB65048B}"/><Scope Name="XML (文本)编辑器" ID="{FA3CD31E-987B-443A-9B81-186104E8DAC1}"/><Scope Name="文本编辑器" ID="{8B382828-6202-11D1-8870-0000F87579D2}"/><Scope Name="工作项结果视图" ID="{7026002D-01F6-44E7-95CF-A896C00DA3F8}"/><Scope Name="ADO.NET Entity Data Model Designer" ID="{C99AEA30-8E36-4515-B76F-496F5A48A6AA}"/><Scope Name="解决方案资源管理器" ID="{3AE79031-E1BC-11D0-8F78-00A0C9110057}"/><Scope Name="查询设计器" ID="{B2C40B32-3A37-4CA9-97B9-FA44248B69FF}"/><Scope Name="带编码功能的 CSharp 编辑器" ID="{08467B34-B90F-4D91-BDCA-EB8C8CF3033A}"/><Scope Name="Web 浏览器" ID="{E8B06F41-6D01-11D2-AA7D-00C04F990343}"/><Scope Name="CSS 编辑器" ID="{A5401142-F49D-43DB-90B1-F57BA349E55C}"/><Scope Name="图形设计器" ID="{58961B49-13E0-48C0-9258-13CBC4D40279}"/><Scope Name="AppManifestDesigner" ID="{4D47164B-07B6-4A52-A855-728D6A2E2AA3}"/><Scope Name="数据集编辑器" ID="{B334A759-F450-40A5-BE2A-65937BCD5415}"/><Scope Name="XAML 设计器" ID="{E9B8485C-1217-4277-9ED6-C825A5AC1968}"/><Scope Name="查看设计器" ID="{B968E165-98E0-41F0-8FBE-A8ED1D246A90}"/><Scope Name="XAML 编辑器" ID="{A4F9FF65-A78C-4650-866D-5069CC4127CF}"/><Scope Name="Microsoft Visual Basic 编辑器" ID="{2C015C70-C72C-11D0-88C3-00A0C9110049}"/><Scope Name="全局" ID="{5EFC7975-14BC-11CF-9B2B-00AA00573819}"/><Scope Name="HTML 编辑器" ID="{40D31677-CBC0-4297-A9EF-89D907823A98}"/><Scope Name="实时可视化树" ID="{A2EAF38F-A0AD-4503-91F8-5F004A69A040}"/><Scope Name="工作项查询视图" ID="{B6303490-B828-410C-9216-AE727D0E282D}"/><Scope Name="DOM 资源管理器" ID="{01E50993-E6A4-491E-AB3F-3A9939DE3524}"/><Scope Name="Team Foundation Build 详细信息编辑器" ID="{86306A97-84F2-4F5A-889B-1318501AEB5F}"/><Scope Name="数据库设计器" ID="{CFF78A9B-78A3-45A3-9142-0267AFC261FA}"/><Scope Name="工作项编辑器" ID="{40A91D9D-8076-4D28-87C5-5AF9F0ACFE0F}"/><Scope Name="JSON 编辑器" ID="{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"/><Scope Name="CSharp 编辑器" ID="{A6C744A8-0E4A-4FC6-886A-064283054674}"/><Scope Name="VC 字符串编辑器" ID="{58442DA9-10DA-4AA9-A2AF-96E4D481379B}"/><Scope Name="交互窗口" ID="{2D0A56AA-9527-4B78-B6E6-EBE6E05DA749}"/><Scope Name="合并编辑器窗口" ID="{9A9A8AAA-ACD2-4DB6-BD81-8D64176C52B6}"/><Scope Name="Microsoft Visual Basic 代码页编辑器" ID="{6C33E1AA-1401-4536-AB67-0E21E6E569DA}"/><Scope Name="设置设计器" ID="{515231AD-C9DC-4AA3-808F-E1B65E72081C}"/><Scope Name="Windows 窗体设计器" ID="{BA09E2AF-9DF2-4068-B2F0-4C7E5CC19E2F}"/><Scope Name="VC 快捷键编辑器" ID="{EB56D0B5-BEE7-4D0C-8BE6-88A8ED256695}"/><Scope Name="托管资源编辑器" ID="{FEA4DCC9-3645-44CD-92E7-84B55A16465C}"/><Scope Name="JavaScript 控制台" ID="{074F1AD9-308B-488C-861E-CF88182E2788}"/><Scope Name="差异查看器" ID="{79D52DDF-52BC-43F1-9663-B3E85CDCA912}"/><Scope Name="表设计器" ID="{4194FEE5-6777-419F-A5FC-47A536DF1BDB}"/><Scope Name="HTML 编辑器设计视图" ID="{CB3FCFEA-03DF-11D1-81D2-00A0C91BBEE3}"/><Scope Name="HTML 编辑器源视图" ID="{CB3FCFEB-03DF-11D1-81D2-00A0C91BBEE3}"/><Scope Name="VC 图像编辑器" ID="{C0BA70ED-069E-412B-9C06-7442E28A11B9}"/><Scope Name="测试资源管理器" ID="{E1B7D1F8-9B3C-49B1-8F4F-BFC63A88835D}"/><Scope Name="XML 架构设计器" ID="{DEE6CEF9-3BCA-449A-82A6-FC757D6956FB}"/></ScopeDefinitions><DefaultShortcuts><Shortcut Command="View.ViewCode" Scope="全局">F7</Shortcut><Shortcut Command="View.ViewDesigner" Scope="全局">Shift+F7</Shortcut></DefaultShortcuts><ShortcutsScheme>Visual C# 2005</ShortcutsScheme><UserShortcuts><Shortcut Command="Edit.LineDelete" Scope="全局">Alt+D</Shortcut><Shortcut Command="Edit.LineOpenAbove" Scope="全局">Alt+E</Shortcut><Shortcut Command="Refactor.ExtractInterface" Scope="全局">Alt+I</Shortcut><Shortcut Command="Refactor.ExtractMethod" Scope="全局">Alt+M</Shortcut><Shortcut Command="Edit.LineEnd" Scope="全局">Alt+O</Shortcut><Shortcut Command="Edit.InsertSnippet" Scope="全局">Alt+Q</Shortcut><Shortcut Command="Edit.MoveSelectedLinesDown" Scope="全局">Alt+S</Shortcut><Shortcut Command="Edit.LineStart" Scope="全局">Alt+U</Shortcut><Shortcut Command="Edit.MoveSelectedLinesUp" Scope="全局">Alt+W</Shortcut><Shortcut Command="Edit.DeleteBackwards" Scope="文本编辑器">Bkspce</Shortcut><Shortcut Command="Edit.ParameterInfo" Scope="文本编辑器">Alt+P</Shortcut><Shortcut Command="CMake.CMake.ViewTests" Scope="全局">Ctrl+Bkspce</Shortcut></UserShortcuts></KeyboardShortcuts></Category></Category></UserSettings>
更多信息
<UserSettings><ApplicationIdentity version="15.0"/><ToolsOptions><ToolsOptionsCategory name="Environment" RegisteredName="Environment"/></ToolsOptions><Category name="Environment_Group" RegisteredName="Environment_Group"><Category name="Environment_KeyBindings" Category="{F09035F1-80D2-4312-8EC4-4D354A4BCB4C}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_KeyBindings" PackageName="Visual Studio Environment Package"><Version>15.0.0.0</Version><KeyboardShortcuts><ScopeDefinitions><Scope Name="团队资源管理器" ID="{7AA20502-9463-47B7-BF43-341BAF51157C}"/><Scope Name="VC 对话框编辑器" ID="{543E0C02-8C85-4E43-933A-5EF320E3431F}"/><Scope Name="查找所有引用工具窗口" ID="{1FA1FD06-3592-4D1D-AC75-0B953320140C}"/><Scope Name="实时属性资源管理器" ID="{31FC2115-5126-4A87-B2F7-77EAAB65048B}"/><Scope Name="XML (文本)编辑器" ID="{FA3CD31E-987B-443A-9B81-186104E8DAC1}"/><Scope Name="文本编辑器" ID="{8B382828-6202-11D1-8870-0000F87579D2}"/><Scope Name="工作项结果视图" ID="{7026002D-01F6-44E7-95CF-A896C00DA3F8}"/><Scope Name="ADO.NET Entity Data Model Designer" ID="{C99AEA30-8E36-4515-B76F-496F5A48A6AA}"/><Scope Name="解决方案资源管理器" ID="{3AE79031-E1BC-11D0-8F78-00A0C9110057}"/><Scope Name="查询设计器" ID="{B2C40B32-3A37-4CA9-97B9-FA44248B69FF}"/><Scope Name="带编码功能的 CSharp 编辑器" ID="{08467B34-B90F-4D91-BDCA-EB8C8CF3033A}"/><Scope Name="Web 浏览器" ID="{E8B06F41-6D01-11D2-AA7D-00C04F990343}"/><Scope Name="CSS 编辑器" ID="{A5401142-F49D-43DB-90B1-F57BA349E55C}"/><Scope Name="图形设计器" ID="{58961B49-13E0-48C0-9258-13CBC4D40279}"/><Scope Name="AppManifestDesigner" ID="{4D47164B-07B6-4A52-A855-728D6A2E2AA3}"/><Scope Name="数据集编辑器" ID="{B334A759-F450-40A5-BE2A-65937BCD5415}"/><Scope Name="XAML 设计器" ID="{E9B8485C-1217-4277-9ED6-C825A5AC1968}"/><Scope Name="查看设计器" ID="{B968E165-98E0-41F0-8FBE-A8ED1D246A90}"/><Scope Name="XAML 编辑器" ID="{A4F9FF65-A78C-4650-866D-5069CC4127CF}"/><Scope Name="Microsoft Visual Basic 编辑器" ID="{2C015C70-C72C-11D0-88C3-00A0C9110049}"/><Scope Name="全局" ID="{5EFC7975-14BC-11CF-9B2B-00AA00573819}"/><Scope Name="HTML 编辑器" ID="{40D31677-CBC0-4297-A9EF-89D907823A98}"/><Scope Name="实时可视化树" ID="{A2EAF38F-A0AD-4503-91F8-5F004A69A040}"/><Scope Name="工作项查询视图" ID="{B6303490-B828-410C-9216-AE727D0E282D}"/><Scope Name="DOM 资源管理器" ID="{01E50993-E6A4-491E-AB3F-3A9939DE3524}"/><Scope Name="Team Foundation Build 详细信息编辑器" ID="{86306A97-84F2-4F5A-889B-1318501AEB5F}"/><Scope Name="数据库设计器" ID="{CFF78A9B-78A3-45A3-9142-0267AFC261FA}"/><Scope Name="工作项编辑器" ID="{40A91D9D-8076-4D28-87C5-5AF9F0ACFE0F}"/><Scope Name="JSON 编辑器" ID="{90A6B3A7-C1A3-4009-A288-E2FF89E96FA0}"/><Scope Name="CSharp 编辑器" ID="{A6C744A8-0E4A-4FC6-886A-064283054674}"/><Scope Name="VC 字符串编辑器" ID="{58442DA9-10DA-4AA9-A2AF-96E4D481379B}"/><Scope Name="交互窗口" ID="{2D0A56AA-9527-4B78-B6E6-EBE6E05DA749}"/><Scope Name="合并编辑器窗口" ID="{9A9A8AAA-ACD2-4DB6-BD81-8D64176C52B6}"/><Scope Name="Microsoft Visual Basic 代码页编辑器" ID="{6C33E1AA-1401-4536-AB67-0E21E6E569DA}"/><Scope Name="设置设计器" ID="{515231AD-C9DC-4AA3-808F-E1B65E72081C}"/><Scope Name="Windows 窗体设计器" ID="{BA09E2AF-9DF2-4068-B2F0-4C7E5CC19E2F}"/><Scope Name="VC 快捷键编辑器" ID="{EB56D0B5-BEE7-4D0C-8BE6-88A8ED256695}"/><Scope Name="托管资源编辑器" ID="{FEA4DCC9-3645-44CD-92E7-84B55A16465C}"/><Scope Name="JavaScript 控制台" ID="{074F1AD9-308B-488C-861E-CF88182E2788}"/><Scope Name="差异查看器" ID="{79D52DDF-52BC-43F1-9663-B3E85CDCA912}"/><Scope Name="表设计器" ID="{4194FEE5-6777-419F-A5FC-47A536DF1BDB}"/><Scope Name="HTML 编辑器设计视图" ID="{CB3FCFEA-03DF-11D1-81D2-00A0C91BBEE3}"/><Scope Name="HTML 编辑器源视图" ID="{CB3FCFEB-03DF-11D1-81D2-00A0C91BBEE3}"/><Scope Name="VC 图像编辑器" ID="{C0BA70ED-069E-412B-9C06-7442E28A11B9}"/><Scope Name="测试资源管理器" ID="{E1B7D1F8-9B3C-49B1-8F4F-BFC63A88835D}"/><Scope Name="XML 架构设计器" ID="{DEE6CEF9-3BCA-449A-82A6-FC757D6956FB}"/></ScopeDefinitions><DefaultShortcuts><Shortcut Command="View.ViewCode" Scope="全局">F7</Shortcut><Shortcut Command="View.ViewDesigner" Scope="全局">Shift+F7</Shortcut></DefaultShortcuts><ShortcutsScheme/><UserShortcuts><Shortcut Command="Edit.FindinFiles" Scope="全局">Shift+Alt+F</Shortcut><Shortcut Command="Edit.LineDelete" Scope="全局">Alt+D</Shortcut><Shortcut Command="Refactor.ExtractInterface" Scope="全局">Alt+I</Shortcut><Shortcut Command="Refactor.ExtractMethod" Scope="全局">Alt+M</Shortcut><Shortcut Command="Edit.LineEnd" Scope="全局">Alt+O</Shortcut><Shortcut Command="Edit.InsertSnippet" Scope="全局">Alt+Q</Shortcut><Shortcut Command="Edit.LineStart" Scope="全局">Alt+U</Shortcut><Shortcut Command="Edit.MoveSelectedLinesUp" Scope="全局">Alt+W</Shortcut><Shortcut Command="Edit.DeleteBackwards" Scope="文本编辑器">Bkspce</Shortcut><Shortcut Command="Edit.ParameterInfo" Scope="文本编辑器">Alt+P</Shortcut><Shortcut Command="CMake.CMake.ViewTests" Scope="全局">Ctrl+Bkspce</Shortcut><RemoveShortcut Command="Edit.CollapseAllOutlining" Scope="文本编辑器">Ctrl+M, Ctrl+A</RemoveShortcut><Shortcut Command="Edit.ExpandAllOutlining" Scope="全局">Alt+]</Shortcut><RemoveShortcut Command="Edit.CollapseAllOutlining" Scope="全局">Alt+[</RemoveShortcut><Shortcut Command="Edit.WordDeleteToEnd" Scope="全局">Alt+Del</Shortcut><Shortcut Command="Edit.ToggleCase" Scope="全局">Ctrl+Shift+X</Shortcut><RemoveShortcut Command="Edit.MakeLowercase" Scope="文本编辑器">Ctrl+U</RemoveShortcut><Shortcut Command="Edit.GoToFindResults2PrevLocation" Scope="全局">Ctrl+U</Shortcut><Shortcut Command="Edit.CommentSelection" Scope="文本编辑器">Ctrl+/</Shortcut><Shortcut Command="Edit.UncommentSelection" Scope="文本编辑器">Ctrl+Shift+/</Shortcut><RemoveShortcut Command="Edit.GoToRecentFile" Scope="全局">Ctrl+1, R</RemoveShortcut><Shortcut Command="Edit.GoToRecentFile" Scope="文本编辑器">Ctrl+R</Shortcut><Shortcut Command="Edit.LineEnd" Scope="文本编辑器">Alt+E</Shortcut><Shortcut Command="Edit.DeleteToBOL" Scope="全局">Alt+A</Shortcut><Shortcut Command="Edit.MoveSelectedLinesUp" Scope="全局">Alt+E</Shortcut><Shortcut Command="Edit.MoveSelectedLinesDown" Scope="全局">Alt+S</Shortcut><Shortcut Command="OtherContextMenus.ParallelWatchWindowShortcutMenu.CopyRow" Scope="全局">Alt+N</Shortcut><RemoveShortcut Command="Edit.FormatDocument" Scope="文本编辑器">Ctrl+K, Ctrl+D</RemoveShortcut><Shortcut Command="Edit.FormatDocument" Scope="全局">Ctrl+Shift+F</Shortcut></UserShortcuts></KeyboardShortcuts></Category></Category></UserSettings>
修改格式化快捷键
其实搜索名称为设置文档的格式就ok了。
按键失灵
失灵的情况就比如按bckspace没反应,但是就是没法输入,这种情况只能恢复默认设置,要么就是自己导出快捷键然后手动修复xml中的字段。我是选择后者的,没法接受使用微软默认的快捷键。
2021-11-12 15:06:11
<UserSettings><ApplicationIdentity version="17.0"/><ToolsOptions><ToolsOptionsCategory name="Environment" RegisteredName="Environment"/></ToolsOptions><Category name="Environment_Group" RegisteredName="Environment_Group"><Category name="Environment_KeyBindings" Category="{F09035F1-80D2-4312-8EC4-4D354A4BCB4C}" Package="{DA9FB551-C724-11d0-AE1F-00A0C90FFFC3}" RegisteredName="Environment_KeyBindings" PackageName="Visual Studio Environment Package"><Version>17.0.0.0</Version><KeyboardShortcuts><ScopeDefinitions><Scope Name="团队资源管理器" ID="{7AA20502-9463-47B7-BF43-341BAF51157C}"/><Scope Name="VC 对话框编辑器" ID="{543E0C02-8C85-4E43-933A-5EF320E3431F}"/><Scope Name="查找所有引用工具窗口" ID="{1FA1FD06-3592-4D1D-AC75-0B953320140C}"/><Scope Name="XAML 实时预览" ID="{A0CA7712-7BB0-4324-9AF0-70E70D5ECC2D}"/><Scope Name="实时属性资源管理器" ID="{31FC2115-5126-4A87-B2F7-77EAAB65048B}"/><Scope Name="XML (文本)编辑器" ID="{FA3CD31E-987B-443A-9B81-186104E8DAC1}"/><Scope Name="文本编辑器" ID="{8B382828-6202-11D1-8870-0000F87579D2}"/><Scope Name="工作项结果视图" ID="{7026002D-01F6-44E7-95CF-A896C00DA3F8}"/><Scope Name="解决方案资源管理器" ID="{3AE79031-E1BC-11D0-8F78-00A0C9110057}"/><Scope Name="带编码功能的 CSharp 编辑器" ID="{08467B34-B90F-4D91-BDCA-EB8C8CF3033A}"/><Scope Name="监视窗口" ID="{90243340-BD7A-11D0-93EF-00A0C90F2734}"/><Scope Name="Web 浏览器" ID="{E8B06F41-6D01-11D2-AA7D-00C04F990343}"/><Scope Name="断点窗口" ID="{BE4D7042-BA3F-11D2-840E-00C04F9902C1}"/><Scope Name="图形设计器" ID="{58961B49-13E0-48C0-9258-13CBC4D40279}"/><Scope Name="AppManifestDesigner" ID="{4D47164B-07B6-4A52-A855-728D6A2E2AA3}"/><Scope Name="XAML 设计器" ID="{E9B8485C-1217-4277-9ED6-C825A5AC1968}"/><Scope Name="XAML 编辑器" ID="{A4F9FF65-A78C-4650-866D-5069CC4127CF}"/><Scope Name="Microsoft Visual Basic 编辑器" ID="{2C015C70-C72C-11D0-88C3-00A0C9110049}"/><Scope Name="全局" ID="{5EFC7975-14BC-11CF-9B2B-00AA00573819}"/><Scope Name="自动窗口" ID="{F2E84780-2AF1-11D1-A7FA-00A0C9110051}"/><Scope Name="实时可视化树" ID="{A2EAF38F-A0AD-4503-91F8-5F004A69A040}"/><Scope Name="工作项查询视图" ID="{B6303490-B828-410C-9216-AE727D0E282D}"/><Scope Name="Team Foundation Build 详细信息编辑器" ID="{86306A97-84F2-4F5A-889B-1318501AEB5F}"/><Scope Name="工作项编辑器" ID="{40A91D9D-8076-4D28-87C5-5AF9F0ACFE0F}"/><Scope Name="CSharp 编辑器" ID="{A6C744A8-0E4A-4FC6-886A-064283054674}"/><Scope Name="VC 字符串编辑器" ID="{58442DA9-10DA-4AA9-A2AF-96E4D481379B}"/><Scope Name="合并编辑器窗口" ID="{9A9A8AAA-ACD2-4DB6-BD81-8D64176C52B6}"/><Scope Name="Microsoft Visual Basic 代码页编辑器" ID="{6C33E1AA-1401-4536-AB67-0E21E6E569DA}"/><Scope Name="设置设计器" ID="{515231AD-C9DC-4AA3-808F-E1B65E72081C}"/><Scope Name="Windows 窗体设计器" ID="{BA09E2AF-9DF2-4068-B2F0-4C7E5CC19E2F}"/><Scope Name="Git" ID="{7605A6B0-118F-45BF-95CC-7DB110BF44FD}"/><Scope Name="VC 快捷键编辑器" ID="{EB56D0B5-BEE7-4D0C-8BE6-88A8ED256695}"/><Scope Name="模块窗口" ID="{37ABA9BE-445A-11D3-9949-00C04F68FD0A}"/><Scope Name="托管资源编辑器" ID="{FEA4DCC9-3645-44CD-92E7-84B55A16465C}"/><Scope Name="并行堆栈窗口" ID="{B9A151CE-EF7C-4FE1-A6AA-4777E6E518F3}"/><Scope Name="局部变量窗口" ID="{4A18F9D0-B838-11D0-93EB-00A0C90F2734}"/><Scope Name="差异查看器" ID="{79D52DDF-52BC-43F1-9663-B3E85CDCA912}"/><Scope Name="{244DF7EA-D757-4B52-B92C-EFD2D3402C91}" ID="{244DF7EA-D757-4B52-B92C-EFD2D3402C91}"/><Scope Name="VC 图像编辑器" ID="{C0BA70ED-069E-412B-9C06-7442E28A11B9}"/><Scope Name="{9E0531FA-FD8C-4007-BD8D-DBB03EBDB4B3}" ID="{9E0531FA-FD8C-4007-BD8D-DBB03EBDB4B3}"/></ScopeDefinitions><DefaultShortcuts><Shortcut Command="View.ViewCode" Scope="全局">F7</Shortcut><Shortcut Command="View.ViewDesigner" Scope="全局">Shift+F7</Shortcut></DefaultShortcuts><ShortcutsScheme/><UserShortcuts><RemoveShortcut Command="Edit.CollapseAllOutlining" Scope="文本编辑器">Ctrl+M, Ctrl+A</RemoveShortcut><RemoveShortcut Command="Edit.CollapseAllOutlining" Scope="全局">Alt+[</RemoveShortcut><RemoveShortcut Command="Edit.MakeLowercase" Scope="文本编辑器">Ctrl+U</RemoveShortcut><RemoveShortcut Command="Edit.GoToRecentFile" Scope="全局">Ctrl+1, R</RemoveShortcut><RemoveShortcut Command="Edit.FormatDocument" Scope="文本编辑器">Ctrl+K, Ctrl+D</RemoveShortcut><Shortcut Command="Edit.FindinFiles" Scope="全局">Shift+Alt+F</Shortcut><Shortcut Command="Edit.LineDelete" Scope="全局">Alt+D</Shortcut><Shortcut Command="Refactor.ExtractMethod" Scope="全局">Alt+M</Shortcut><Shortcut Command="Edit.LineEnd" Scope="全局">Alt+O</Shortcut><Shortcut Command="Edit.InsertSnippet" Scope="全局">Alt+Q</Shortcut><Shortcut Command="Edit.LineStart" Scope="全局">Alt+U</Shortcut><Shortcut Command="Edit.MoveSelectedLinesUp" Scope="全局">Alt+W</Shortcut><Shortcut Command="Edit.DeleteBackwards" Scope="文本编辑器">Bkspce</Shortcut><Shortcut Command="Edit.ParameterInfo" Scope="文本编辑器">Alt+P</Shortcut><Shortcut Command="Edit.ExpandAllOutlining" Scope="全局">Alt+]</Shortcut><Shortcut Command="Edit.WordDeleteToEnd" Scope="全局">Alt+Del</Shortcut><Shortcut Command="Edit.ToggleCase" Scope="全局">Ctrl+Shift+X</Shortcut><Shortcut Command="Edit.CommentSelection" Scope="文本编辑器">Ctrl+/</Shortcut><Shortcut Command="Edit.UncommentSelection" Scope="文本编辑器">Ctrl+Shift+/</Shortcut><Shortcut Command="Edit.GoToRecentFile" Scope="文本编辑器">Ctrl+R</Shortcut><Shortcut Command="Edit.LineEnd" Scope="文本编辑器">Alt+E</Shortcut><Shortcut Command="Edit.DeleteToBOL" Scope="全局">Alt+A</Shortcut><Shortcut Command="Edit.MoveSelectedLinesUp" Scope="全局">Alt+E</Shortcut><Shortcut Command="Edit.MoveSelectedLinesDown" Scope="全局">Alt+S</Shortcut><Shortcut Command="OtherContextMenus.ParallelWatchWindowShortcutMenu.CopyRow" Scope="全局">Alt+N</Shortcut><Shortcut Command="Edit.FormatDocument" Scope="全局">Ctrl+Shift+F</Shortcut></UserShortcuts></KeyboardShortcuts></Category></Category></UserSettings>