项目作者: wk-j

项目描述 :
IL Syntax and Snippets
高级语言: Shell
项目地址: git://github.com/wk-j/vscode-cil-complete.git
创建时间: 2017-02-03T15:16:05Z
项目社区:https://github.com/wk-j/vscode-cil-complete

开源协议:

下载


IL Syntax and Snippets

Installation

ext install vscode-cil-complete

Snippets

  • prog (New program)
  • pubc (Public class)
  • pric (Private class)
  • pubm (Public method)
  • prim (Private method)

Sample

  1. prog<tab>

Result

  1. .assembly extern mscorlib {}
  2. .assembly 'App' {}
  3. .class private auto ansi beforefieldinit Program extends [mscorlib]System.Object {
  4. .method private hidebysig static void Main ( string[] args) cil managed {
  5. .entrypoint
  6. ret
  7. }
  8. .method public hidebysig specialname rtspecialname instance void .ctor () cil managed {
  9. ldarg.0
  10. call instance void [mscorlib]System.Object::.ctor()
  11. ret
  12. }
  13. }