{"id":15459479,"url":"https://github.com/smridge/vscode-ruby-syntax","last_synced_at":"2025-04-22T10:21:35.914Z","repository":{"id":59975543,"uuid":"256911608","full_name":"smridge/vscode-ruby-syntax","owner":"smridge","description":"Ruby Syntax Highlighting for Visual Studio Code","archived":false,"fork":false,"pushed_at":"2020-08-09T05:24:43.000Z","size":147,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T19:50:48.134Z","etag":null,"topics":["ruby","syntax-highlighting","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smridge.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-19T04:12:50.000Z","updated_at":"2023-03-17T02:55:04.000Z","dependencies_parsed_at":"2022-09-25T11:55:20.695Z","dependency_job_id":null,"html_url":"https://github.com/smridge/vscode-ruby-syntax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smridge%2Fvscode-ruby-syntax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smridge%2Fvscode-ruby-syntax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smridge%2Fvscode-ruby-syntax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smridge%2Fvscode-ruby-syntax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smridge","download_url":"https://codeload.github.com/smridge/vscode-ruby-syntax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250221289,"owners_count":21394680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ruby","syntax-highlighting","vscode","vscode-extension"],"created_at":"2024-10-01T23:08:04.686Z","updated_at":"2025-04-22T10:21:35.867Z","avatar_url":"https://github.com/smridge.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby Syntax Highlighting for Visual Studio Code\n[![Published Version to VS Code](https://img.shields.io/visual-studio-marketplace/v/SarahRidge.vscode-ruby-syntax)](https://marketplace.visualstudio.com/items?itemName=SarahRidge.vscode-ruby-syntax)\n[![VS Code Downloads](https://img.shields.io/visual-studio-marketplace/d/SarahRidge.vscode-ruby-syntax)](https://marketplace.visualstudio.com/items?itemName=SarahRidge.vscode-ruby-syntax)\n[![VS Code Installs](https://img.shields.io/visual-studio-marketplace/i/SarahRidge.vscode-ruby-syntax)](https://marketplace.visualstudio.com/items?itemName=SarahRidge.vscode-ruby-syntax)\n[![GitHub License](https://img.shields.io/github/license/smridge/vscode-ruby-syntax.svg)](https://github.com/smridge/vscode-ruby-syntax/blob/master/LICENSE)\n\nRuby, ERB and Gemfile Syntax Support.\n\nThis Extension allows for Ruby Syntax Support without needing to install language server, debugger etc.\n\nOriginal Ruby and ERB Syntax Grammar extracted from [vscode-ruby](https://github.com/rubyide/vscode-ruby).\n\n## Install\n- Run: `code --install-extension SarahRidge.vscode-ruby-syntax`\n  - Alternatively, extension can be installed via [marketplace](https://marketplace.visualstudio.com/items?itemName=SarahRidge.vscode-ruby-syntax).\n- Reload VSCode.\n\n### Changes Differing from extracted syntaxes:\n- Added Grammar for `Gemfile` following [bundler docs](https://bundler.io/man/gemfile.5.html).\n- Added [Ternary](https://docs.ruby-lang.org/en/2.7.0/syntax/control_expressions_rdoc.html#label-Ternary+if) `:`.\n- Added [Ruby Range](https://ruby-doc.org/core-2.7.1/Range.html).\n- Fixed Comment Blocks for `.erb` files to allow for html block commenting `\u003c!-- --\u003e\"` (still respects single line comments `\u003c%# %\u003e`).\n- Fixed variable recognition ending with `?` or `!`\n\n** Pull Requests submitted to [forked repository](https://github.com/rubyide/vscode-ruby/pulls) for `ruby` and `erb` grammar changes addressed in this repo. **\n\n## References\n[Syntax Highlight Guide](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide)\n\n[Language Grammar Rules](https://macromates.com/manual/en/language_grammars)\n\n## Related Extension\n\n[Rails Syntax Highlighting](https://github.com/smridge/vscode_rails_syntax)\n\n\u003cbr\u003e\n\nRuby \u003cimg src=\"https://raw.githubusercontent.com/smridge/vscode-ruby-syntax/master/images/icon.png\" width=\"12\"\u003e Logo \u0026copy; 2006, Yukihiro Matsumoto: https://www.ruby-lang.org/en/about/logo/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmridge%2Fvscode-ruby-syntax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmridge%2Fvscode-ruby-syntax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmridge%2Fvscode-ruby-syntax/lists"}