mirror of
https://github.com/Microsoft/vscode
synced 2024-10-31 01:12:58 +00:00
c898cc3489
.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.
27 lines
823 B
JSON
27 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"
|
|
}]
|
|
}
|
|
}
|