开发者

Can't find interface code generation option in SharpDevelop 4.1

This se开发者_如何学JAVAems like a stupid issue, but I can't seem to find an option to generate interface code with in the newest SharpDevelop build. When I search the site I get a lot of mentions of Alt+Ins and the Tools menu but those options do not appear to be available in the newest build. I can right click and extract interfaces but there doesn't seem to be any option to stub them in. What am I missing?


In SharpDevelop 4.1 put the mouse cursor on the class name or on the interface name. You will then see an icon appear on the left hand side of the text editor.

Can't find interface code generation option in SharpDevelop 4.1

Then press Ctrl+T to display a pop-up menu.

Can't find interface code generation option in SharpDevelop 4.1

This will give you a list of interfaces you can implement. Select the appropriate interface using the up and down arrows and press the Enter key. Then code will be generated for that interface.

Can't find interface code generation option in SharpDevelop 4.1

Whenever you see this icon you can generate code. For more information on this feature take a look at the New productivity features blog post by Martin Konicek.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜