mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
.rbi files are type definition files that are currently used by some community type checkers, most notably Stripe's Sorbet, and will be part of the main language in Ruby 3.
28 lines
823 B
JSON
28 lines
823 B
JSON
{
|
|
"name": "ruby",
|
|
"displayName": "%displayName%",
|
|
"description": "%description%",
|
|
"version": "1.0.0",
|
|
"publisher": "vscode",
|
|
"license": "MIT",
|
|
"engines": { "vscode": "*" },
|
|
"scripts": {
|
|
"update-grammar": "node ../../build/npm/update-grammar.js textmate/ruby.tmbundle Syntaxes/Ruby.plist ./syntaxes/ruby.tmLanguage.json"
|
|
},
|
|
"contributes": {
|
|
"languages": [{
|
|
"id": "ruby",
|
|
"extensions": [ ".rb", ".rbx", ".rjs", ".gemspec", ".rake", ".ru", ".erb", ".podspec", ".rbi" ],
|
|
"filenames": [ "rakefile", "gemfile", "guardfile", "podfile", "capfile" ],
|
|
"aliases": [ "Ruby", "rb" ],
|
|
"firstLine": "^#!\\s*/.*\\bruby\\b",
|
|
"configuration": "./language-configuration.json"
|
|
}],
|
|
"grammars": [{
|
|
"language": "ruby",
|
|
"scopeName": "source.ruby",
|
|
"path": "./syntaxes/ruby.tmLanguage.json"
|
|
}]
|
|
}
|
|
}
|