Sha256: 5e65db5960094a1a7631dff9494313a159bce9cdd93031df20e4d8d3300a3a4a

Contents?: true

Size: 1.24 KB

Versions: 18

Compression:

Stored size: 1.24 KB

Contents

{
	// Place your steep workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
	// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
	// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
	// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
	// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
	// Placeholders with the same ids are connected.
	// Example:
	// "Print to console": {
	// 	"scope": "javascript,typescript",
	// 	"prefix": "log",
	// 	"body": [
	// 		"console.log('$1');",
	// 		"$2"
	// 	],
	// 	"description": "Log output to console"
	// }

	"Add type_check_test case": {
		"scope": "ruby",
		"body": [
			"def test_${1:name}",
			"  run_type_check_test(",
			"    signatures: {",
			"      \"a.rbs\" => <<~RBS",
			"        ${2:rbs}",
			"      RBS",
			"    },",
			"    code: {",
			"      \"a.rb\" => <<~RUBY",
      "        ${3:ruby code}",
			"      RUBY",
			"    },",
			"    expectations: <<~YAML",
			"    YAML",
			"  )",
			"end",
		],
		"description": "Insert a new test case"
	}
}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
steep-1.7.0.dev.3 .vscode/steep-shared.code-snippets
steep-1.7.0.dev.2 .vscode/steep-shared.code-snippets
steep-1.7.0.dev.1 .vscode/steep-shared.code-snippets
steep-1.6.0 .vscode/steep-shared.code-snippets
steep-1.6.0.pre.4 .vscode/steep-shared.code-snippets
steep-1.6.0.pre.3 .vscode/steep-shared.code-snippets
steep-1.6.0.pre.2 .vscode/steep-shared.code-snippets
steep-1.6.0.pre.1 .vscode/steep-shared.code-snippets
steep-1.5.3 .vscode/steep-shared.code-snippets
steep-1.5.2 .vscode/steep-shared.code-snippets
steep-1.5.1 .vscode/steep-shared.code-snippets
steep-1.5.0 .vscode/steep-shared.code-snippets
steep-1.5.0.pre.6 .vscode/steep-shared.code-snippets
steep-1.5.0.pre.5 .vscode/steep-shared.code-snippets
steep-1.5.0.pre.4 .vscode/steep-shared.code-snippets
steep-1.5.0.pre.3 .vscode/steep-shared.code-snippets
steep-1.5.0.pre.2 .vscode/steep-shared.code-snippets
steep-1.5.0.pre.1 .vscode/steep-shared.code-snippets