Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Extension of C# Snippets for Visual Studio Code

License

NotificationsYou must be signed in to change notification settings

J0rgeSerran0/vscode-csharp-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DownloadsInstallsVisual Studio Code ExtensionIssuesIssues Pull Requests

alt text

This extension for Visual Studio Code adds snippets for C#.

You can find this extension in theVisual Studio Code Marketplace.

See theCHANGELOG for the latest changes included.

Usage

Put the cursor on the C# file.

Type part of a snippet, presstab, and the snippet unfolds.

If you have problems to see the snippets, pressCtrl+Space (Windows, Linux) orCmd+Space (OSX).

(see theTUTORIALS to know more)

C# general snippets

#helloworld~cclearcgoclassclassaclassdconstcrcrkcsproj_1.0csproj_1.1csproj_2.0csproj_2.1csproj_3.1csproj_5cwldowhileelseenumexceptionforforeachguidguidnififelseiifimmutableinterfacelinq_distinctlinq_wherelockmainmethodmethod_asyncmsgboxmstestnamespaceproppropipropinitproprpumpvmrecordsingletonsingletonlsingletontsstructswitchtlstodotrytryfusingwhile

Visual Studio snippets

sln_2017sln_2019

ASP.NET Core C# snippets

ac_#helloworld_Startupac_#helloworld_WebAppac_#helloworld_WebApiac_actionac_commentac_confac_conf_fileac_controllerac_csproj_2.0ac_csproj_2.1ac_csproj_3.1ac_csproj_5ac_startupenv

ASP.NET Core Web Api C# snippets

api_controllerapi_deleteapi_getapi_putapi_post

.NET Extensions

ex_md5_from_streamex_stream_to_stringex_string_to_stream

gRPC C# snippets (.NET 5)

gRPC_client_csprojgRPC_client_programgRPC_protogRPC_server_csprojgRPC_server_programgRPC_server_servicegRPC_server_settingsgRPC_server_startup

ASP.NET Core Razor C# snippets

rz_coderz_commentrz_directiverz_dowhilerz_forrz_foreachrz_functionsrz_ifrz_ifelserz_implementsrz_inheritsrz_injectrz_modelrz_namespacerz_rawrz_renderbodyrz_switchrz_tryrz_usingrz_viewbagrz_viewdatarz_while

XML Comments snippets

xml_<c>xml_<code>xml_<example>xml_<exception>xml_<include>xml_<list>xml_<para>xml_<param>xml_<paramref>xml_<permission>xml_<remarks>xml_<returns>xml_<see>xml_<seealso>xml_<summary>xml_<typeparam>xml_<typeparamref>xml_<value>

Installation

  1. Install Visual Studio Code 1.5.0 or higher
  2. Launch Visual Studio Code
  3. From the command paletteCtrl-Shift-P (Windows, Linux) orCmd-Shift-P (OSX)
  4. SelectInstall Extension
  5. Search and choose the extension
  6. Reload Visual Studio Code

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp