Visual Studio相当于Eclipse syso(Visual Studio equivalent of Eclipse syso)

编程入门 行业动态 更新时间:2024-10-23 20:28:07
Visual Studio相当于Eclipse syso(Visual Studio equivalent of Eclipse syso)

昨天,一位朋友向我展示了一种键入System.out.println("")的好方法,

这是syso + ctrl - space ,它是自动生成的。

有没有办法做到这样的事情与c# - Console.WriteLine("") ?

Yesterday a friend showed me a nice way to type System.out.println(""),

That is syso + ctrl-space and it is auto-generated.

Is there a way to do something like it with c# - Console.WriteLine("") ?

最满意答案

作为默认设置, Console.WriteLine()具有cw代码片段。 只需写下cw然后按Tab键即可。

您也可以创建自己的代码片段。

看一看;

代码片段 创建一个代码片段 Visual Studio中的代码片段

As a default, Console.WriteLine() has cw code snippet. Just write cw and hit Tab key.

You can create your own code snippets also.

Take a look;

Code Snippets Creating a Code Snippet Code Snippet in Visual Studio

更多推荐

本文发布于:2023-08-07 19:53:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465603.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Studio   Visual   Eclipse   equivalent   syso

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!