{"id":13765197,"url":"https://github.com/rescript-lang/rescript-sublime","last_synced_at":"2026-03-03T03:10:39.031Z","repository":{"id":56180739,"uuid":"289496179","full_name":"rescript-lang/rescript-sublime","owner":"rescript-lang","description":"Official Sublime Text plugin for ReScript.","archived":false,"fork":false,"pushed_at":"2021-05-16T10:23:49.000Z","size":14194,"stargazers_count":8,"open_issues_count":1,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-10T09:28:52.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ReScript","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/rescript-lang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-22T13:48:24.000Z","updated_at":"2024-07-08T01:37:06.000Z","dependencies_parsed_at":"2022-08-15T14:10:41.948Z","dependency_job_id":null,"html_url":"https://github.com/rescript-lang/rescript-sublime","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-lang%2Frescript-sublime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-lang%2Frescript-sublime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-lang%2Frescript-sublime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rescript-lang%2Frescript-sublime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rescript-lang","download_url":"https://codeload.github.com/rescript-lang/rescript-sublime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241005554,"owners_count":19892817,"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":[],"created_at":"2024-08-03T16:00:35.331Z","updated_at":"2026-03-03T03:10:38.982Z","avatar_url":"https://github.com/rescript-lang.png","language":"ReScript","readme":"# rescript-sublime\n\nThe official Sublime Text plugin for ReScript.\n\n## Prerequisite\n\n- `\u003e=0.0.9` requires `bs-platform \u003e=8.3.0` installed locally in your project.\n- `0.0.8` requires `bs-platform 8.2.0` installed locally in your project.\n\n## Install\n\nGet it from https://packagecontrol.io/packages/ReScript\n\n## Features\n\n- Syntax highlighting (`.res`, `.resi`).\n- Formatting: Command Palette (`cmd-shift-p`) -\u003e ReScript: Format File. caveats:\n  - Currently requires the file to be part of a ReScript project, i.e. with a `bsconfig.json`.\n  - Cannot be a temporary file.\n- Snippets to ease a few syntaxes:\n  - `external` features such as `@bs.module` and `@bs.val`\n  - `try`, `for`, etc.\n\n## Upcoming Features\n\n- Syntax errors diagnosis (only after formatting).\n- Formatting of temporary files\n- Formatting of files outside of a ReScript project root\n- Type diagnosis\n\n## Config\n\n- Command Palette -\u003e UI: Select Color Scheme. Use **Mariana** for best effects (it'll be the new default Sublime Text theme!). Mariana colors tokens distinctively (and still pleasantly) enough for module and variant to be visually distinct despite both being capitalized. Gotta have accurate highlighting!\n\n\u003c!-- - Open this repo's `Default.sublime-settings`, put in the absolute path to the formatter exe in `optionalGlobalFormatter`. --\u003e\n\n\u003c!-- To format: cmd-shift-r --\u003e\n\n## Develop\n\nThanks for your interest in contributing!\n\n### Test Syntax\n\nDocs at https://www.sublimetext.com/docs/3/syntax.html and https://www.sublimetext.com/docs/3/scope_naming.html\n\nTldr (documented in first link):\n\n- Change `ReScript.sublime-syntax`\n- Open `syntax_test.res`\n- Command Palette -\u003e Build With: Syntax Tests\n\nFor more grammar inspirations, check ST's own [JavaScript grammar](https://github.com/sublimehq/Packages/blob/2c66f1fdea0dbc74aaa3b1c2f904040e9c1aaefa/JavaScript/JavaScript.sublime-syntax).","funding_links":[],"categories":["ReScript"],"sub_categories":["Editor Support"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frescript-lang%2Frescript-sublime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frescript-lang%2Frescript-sublime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frescript-lang%2Frescript-sublime/lists"}