1

I have noticed many times developers use like a quick key to generate properties but I can not find what that key is. Is there a list i can look at with all the short keys?. what i am referring to is like when you do

Highlight method + F12 takes you to the reference (for example), there is one specifically that would help me a lot, the property auto complete it usually puts something like

public int something, and the color shows as green or something. Any help would be much appreciated.

4

3 回答 3

6

这是通过片段完成的。可以通过键入prop然后按 TAB 来扩展默认代码段。

于 2012-04-09T17:44:40.183 回答
1

我认为您看到的是CodeRush。如果这个视觉是你所指的绿色,那就是 CodeRush:

在此处输入图像描述

于 2012-04-09T17:59:13.270 回答
0

此外,如果智能永远“不存在”,只需按 control + space。在 Netbeans 和 Visual Studio 中工作

于 2012-04-09T17:49:35.453 回答