mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
![Connor Shea](/assets/img/avatar_default.png)
.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"
|
|
}]
|
|
}
|
|
}
|