Giter VIP home page Giter VIP logo

vscode-cil-complete's Introduction

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

prog<tab>

Result

.assembly extern mscorlib {}
.assembly 'App' {}
.class private auto ansi beforefieldinit Program extends [mscorlib]System.Object {
    .method private hidebysig static void Main ( string[] args) cil managed {
        .entrypoint
        
        ret
    }
    .method public hidebysig specialname rtspecialname instance void .ctor () cil managed {
        ldarg.0
        call instance void [mscorlib]System.Object::.ctor()
        ret
    }
} 

vscode-cil-complete's People

Contributors

imgbotapp avatar wk-j avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vscode-cil-complete's Issues

Incorrect syntax coloring of labels following instructions containing `.`

    // method line 2
    .method public static hidebysig 
           default void Main (string[] args)  cil managed 
    {
        // Method begins at RVA 0x2058
	.entrypoint
	// Code size 24 (0x18)
	.maxstack 1
	.locals init (
		class ILPlayground.Foobar	V_0)
	IL_0000:  nop 
	IL_0001:  newobj instance void class ILPlayground.Foobar::'.ctor'()
	IL_0006:  stloc.0 
	IL_0007:  ldloc.0 
	IL_0008:  ldfld class [mscorlib]System.Collections.Generic.List`1<string> ILPlayground.Foobar::Strings
	IL_000d:  callvirt instance int32 class [mscorlib]System.Collections.Generic.List`1<string>::get_Count()
	IL_0012:  call void class [mscorlib]System.Console::WriteLine(int32)
	IL_0017:  ret 
    } // end of method MainClass::Main

screen shot 2017-02-10 at 1 14 07 pm

Size of the extension is unreasonably big

This extension weighs over 11 MB, while it actually only should contain a couple of JSON files. Could you please reduce the size by adding a .vscodeignore file? After deleting tools/, build.cake, build.sh, .gitignore and .vscode/ the extension only weighs ~10 KB.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.