Code Snippets Vim Snippet

Short texts Vim Snippet 🧑‍💻 Code snippets Vim Snippet ✍️ Reading lists Vim Snippet 👀

A collection of Visual Studio snippets for mod development for My Summer Car using MSC Loader Pro.

mcl mcl Inserts ModConsole.Log(), or wraps selected code inside the method. Wampa842 Expansion SurroundsWith ModConsole SimpleTypeName(global::MSCLoader.ModConsole) mclw mclw Inserts ModConsole.LogWarning(), or wraps selected code inside the method. Wampa842 Expansion SurroundsWith ModConsole SimpleTypeName(global::MSCLoader.ModConsole) mcle mcle Inserts ModConsole.LogError(), or wraps selected code inside the method. Wampa842 Expansion SurroundsWith ModConsole SimpleTypeName(global::MSCLoader.ModConsole) mclx mclx A try-catch block where the […]

javascript_jquery.snippets

snippet add ${1:obj}.add(‘${2:selector expression}’) endsnippet snippet addClass ${1:obj}.addClass(‘${2:class name}’) endsnippet snippet after ${1:obj}.after(‘${2:Some text and bold!}’) snippet ajax $.ajax({ url: ‘${1:mydomain.com/url}’, type: ‘${2:POST}’, dataType: ‘${3:xml/html/script/json}’, data: $.param( $(‘${4:Element or Expression}’) ), complete: function (jqXHR, textStatus) { ${5:// callback} }, success: function (data, textStatus, jqXHR) { ${6:// success callback} }, error: function (jqXHR, textStatus, errorThrown) { […]