c# - VisualStudio里有没有类似Eclipse里的快速修复(快捷修复)一样的功能(快捷键)?
大家讲道理
大家讲道理 2017-04-21 11:16:43
0
5
768

如题……不知道怎么描述,就是类似于eclipse里的Alt+/这样的快捷键,可以快速修复一些语法错误的。
不是安了番茄插件以后的ctrl+j那个快速代码提示。

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(5)
迷茫

I don’t know if you mean Ctrl + . (same as Alt + Shift + F10)

PHPzhong

I have only used the one that comes with VS, but an error occurred. If I hover the mouse over the wrong place, I will be prompted whether a namespace is missing? Insert a quote with just one click.

阿神

alt+enter

洪涛

alt+ →

刘奇

I don’t know if this is the function you are talking about:

If an error occurs, when the cursor moves to that position, a small icon will appear. Click to choose a quick fix

If yes

This function is called "Smart Tag". The default shortcut key is Ctrl+.. You can also modify it to other shortcut keys.

If you have ReSharper installed, there is a powerful function called AltEnter, and the shortcut key is Alt+Enter, which is an upgraded version of smart tags.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!