C# Snippets

C# Snippets 1.1.0

分类:工具软件

版本:1.1.0

浏览:4

日期:04.24

探索C#SnippetsforVisualStudioCode,这款强大且高效的VisualStudioCode扩展,为C#开发者提供丰富的代码片段,提升编程效率。无论您是初学者还是经验丰富的开发者,都能从中受益。立即安装,简化您的C#开发流程。

gRPC c#
立即下载

新的介绍内容:

DownloadsInstallsVisual Studio Code ExtensionIssuesIssues Pull Requests

alt text

C# Snippets for Visual Studio Code是一款专为C#开发者设计的Visual Studio Code扩展,旨在提升您的开发效率。通过提供丰富的代码片段,您可以快速插入常用的C#代码结构,节省时间,专注于更重要的编程任务。

使用方法:

在C#文件中放置光标,输入代码片段的部分关键词,然后按下Tab键,即可展开完整的代码片段。如果无法看到代码片段,按下Ctrl Space(Windows, Linux)或Cmd Space(OSX)进行触发。

查看TUTORIALS以获取更多使用技巧。

C# 通用代码片段

#helloworld
~
cclear
cgo
class
classa
classd
const
cr
crk
csproj_1.0
csproj_1.1
csproj_2.0
csproj_2.1
csproj_3.1
csproj_5
cwl
dowhile
else
enum
exception
for
foreach
guid
guidn
if
ifelse
iif
immutable
interface
linq_distinct
linq_where
lock
main
method
method_async
msgbox
mstest
namespace
prop
propi
propinit
propr
pum
pvm
record
singleton
singletonl
singletonts
struct
switch
tls
todo
try
tryf
using
while

Visual Studio 代码片段

sln_2017
sln_2019

ASP.NET Core C# 代码片段

ac_#helloworld_Startup
ac_#helloworld_WebApp
ac_#helloworld_WebApi
ac_action
ac_comment
ac_conf
ac_conf_file
ac_controller
ac_csproj_2.0
ac_csproj_2.1
ac_csproj_3.1
ac_csproj_5
ac_startupenv

ASP.NET Core Web Api C# 代码片段

api_controller
api_delete
api_get
api_put
api_post

.NET 扩展

ex_md5_from_stream
ex_stream_to_string
ex_string_to_stream

gRPC C# 代码片段 (.NET 5)

gRPC_client_csproj
gRPC_client_program
gRPC_proto
gRPC_server_csproj
gRPC_server_program
gRPC_server_service
gRPC_server_settings
gRPC_server_startup

ASP.NET Core Razor C# 代码片段

rz_code
rz_comment
rz_directive
rz_dowhile
rz_for
rz_foreach
rz_functions
rz_if
rz_ifelse
rz_implements
rz_inherits
rz_inject
rz_model
rz_namespace
rz_raw
rz_renderbody
rz_switch
rz_try
rz_using
rz_viewbag
rz_viewdata
rz_while

XML 注释代码片段

xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_
xml_

安装步骤:

  1. 安装Visual Studio Code 1.5.0或更高版本。
  2. 启动Visual Studio Code。
  3. 通过命令面板Ctrl-Shift-P(Windows, Linux)或Cmd-Shift-P(OSX)调用。
  4. 选择“安装扩展”。
  5. 搜索并选择此扩展。
  6. 重新加载Visual Studio Code。

立即安装C# Snippets for Visual Studio Code,简化您的C#开发流程,提升编程效率。

最新下载

更多 ›

相关文章

更多 ›

课程推荐

更多 ›
首页