C# 有没有办法在Monodevelop Unity上自动完成接口实现模板?
假设我有一个界面:C# 有没有办法在Monodevelop Unity上自动完成接口实现模板?,c#,unity3d,monodevelop,C#,Unity3d,Monodevelop,假设我有一个界面: public interface ISomeInterface { void Foo(); int Bar { get; } } 在我的班上: public class SomeClass : ISomeInterface { //Is there a way to automatically generate the below "templates" //through pressing a button or a shortcut? public
public interface ISomeInterface
{
void Foo();
int Bar { get; }
}
在我的班上:
public class SomeClass : ISomeInterface
{
//Is there a way to automatically generate the below "templates"
//through pressing a button or a shortcut?
public void Foo()
{
}
public int Bar
{
get
{
}
}
}
通常我只会把它打出来,但是对于接口有点长的情况,如果我必须跨许多不同的类来做,那就有点乏味了。是的,只需右键单击
接口
是的,只需右键单击
界面