{"id":14483207,"url":"https://github.com/Pegase745/sublime-flowtype","last_synced_at":"2025-08-30T03:33:23.812Z","repository":{"id":149400740,"uuid":"88724002","full_name":"Pegase745/sublime-flowtype","owner":"Pegase745","description":"A full featured Flow type support for Sublime Text 3","archived":false,"fork":false,"pushed_at":"2019-11-22T10:34:26.000Z","size":108,"stargazers_count":25,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-27T04:32:16.399Z","etag":null,"topics":["flow","javascript","sublime-text"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Pegase745.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-19T09:03:02.000Z","updated_at":"2022-04-08T03:29:11.000Z","dependencies_parsed_at":"2023-07-25T16:04:16.254Z","dependency_job_id":null,"html_url":"https://github.com/Pegase745/sublime-flowtype","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/Pegase745/sublime-flowtype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pegase745%2Fsublime-flowtype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pegase745%2Fsublime-flowtype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pegase745%2Fsublime-flowtype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pegase745%2Fsublime-flowtype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pegase745","download_url":"https://codeload.github.com/Pegase745/sublime-flowtype/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pegase745%2Fsublime-flowtype/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272800748,"owners_count":24995138,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["flow","javascript","sublime-text"],"created_at":"2024-09-03T00:01:36.324Z","updated_at":"2025-08-30T03:33:23.535Z","avatar_url":"https://github.com/Pegase745.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# FlowType\n\n*FlowType turns your Sublime Text 3 into a full featured Flow IDE.*\n\n[![GitHub (pre-)release](https://img.shields.io/github/release/Pegase745/sublime-flowtype/all.svg)](https://github.com/Pegase745/sublime-flowtype/releases)\n[![Build Status](https://travis-ci.org/Pegase745/sublime-flowtype.svg?branch=master)](https://travis-ci.org/Pegase745/sublime-flowtype)\n[![Build status](https://ci.appveyor.com/api/projects/status/jofwwwr30ub7f8r2/branch/master?svg=true)](https://ci.appveyor.com/project/Pegase745/sublime-flowtype)\n[![Package Control](https://img.shields.io/packagecontrol/dt/FlowType.svg)](https://packagecontrol.io/packages/FlowType)\n[![black](https://img.shields.io/badge/code%20style-black-000000.svg)]()\n\n\n\u003c!-- [![Codacy Badge](https://api.codacy.com/project/badge/Grade/9433d6745ed54193bb6d2204ee7c6172)](https://www.codacy.com/app/Pegase745/sublime-flowtype?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=Pegase745/sublime-flowtype\u0026amp;utm_campaign=Badge_Grade) --\u003e\n\u003c!-- [![codecov](https://codecov.io/gh/Pegase745/sublime-flowtype/branch/master/graph/badge.svg)](https://codecov.io/gh/Pegase745/sublime-flowtype) --\u003e\n\u003c!-- [![Code Climate](http://img.shields.io/codeclimate/github/Pegase745/sublime-flowtype.svg)](https://codeclimate.com/github/Pegase745/sublime-flowtype) --\u003e\n\n**Features**\n\n* Add and remove flow pragma on a file\n* Check file contents for flow errors and highlight regions\n* Go to file containing the type definition\n* View a variable's type definition\n* Show a file's coverage\n* Show a text spinner every time the flow cli is working\n* Launch cli commands in a thread in order to never block the IDE\n\n## Installation\n\nMake sure you have [FlowType installed](https://flow.org/en/docs/install/) and binary `flow` is accesible for Sublime.\n\nThis package can be installed using [Package Control](https://packagecontrol.io/). Simply install the `FlowType` package from the official repository.\n\nOtherwise, you must clone this repository in your packages directory. You can find it using the `Preferences -\u003e Browse Packages` menu from within Sublime Text.\n\n```bash\n$ git clone https://github.com/Pegase745/sublime-flowtype.git FlowType\n```\n\n## Usage\n\n### Settings\n\nThe package settings can be modified in three places:\n\n| Description | File Location | Menu Entry |\n| ----------- | ------------- | ------------- |\n| Global | `Packages/FlowType/FlowType.sublime-settings` | `Preferences \u003e Package Settings \u003e FlowType \u003e Settings-Default` |\n| User | `Packages/User/FlowType.sublime-settings` | `Preferences \u003e Package Settings \u003e FlowType \u003e Settings-User` |\n| Project (**recommended**) | `\u003cprojects_location\u003e/\u003cproject_name\u003e.sublime-project` | `Project \u003e Edit Project` (*options must be placed under the settings key*) |\n\nThe default available configuration settings\n\n| Key | Description | Default value |\n| --- | ----------- | ------------- |\n| `log_level` | Set logging level | `info` |\n| `flow_bin_path` | Path to flow binary | /usr/local/bin/flow |\n| `complete_with_builtintypes` | Allow completions of Flow built-in types | `true` |\n| `suggest_autocomplete_on_edit` (**beta**) | Show autocomplete suggestions on edit | `false` |\n| `check_contents_on_edit` | Check contents for Flow errors on edit | `true` |\n| `check_contents_on_save` | Check contents for Flow errors on save | `false` |\n\n### Key Bindings\n\nThe key bindings can be modified in two places:\n\n| Description | File Location | Menu Entry |\n| ----------- | ------------- | ------------- |\n| Default | `Packages/Default/Default (Linux/OSX/Windows).sublime-keymap` | `Preferences \u003e Key Bindings` |\n| User | `Packages/User/Default (Linux/OSX/Windows).sublime-keymap` | `Preferences \u003e Key Bindings` |\n\nThe default available key bindings\n\n| Description | Linux/Windows | OSX |\n| ----------- | ------------- | --- |\n| View all errors | `ctrl+alt+c` | `super+alt+c` |\n| Show autocomplete values | `ctrl+alt+space` | `super+alt+space` |\n\n### Mouse Bindings\n\nIt is not advised to specify default mousemaps in order to not create conflicts with other packages.\n\nTherefore, you can add mouse bindings for FlowType like this:\n\n* For **Linux**, create a \"Default (Linux).sublime-mousemap\" in **~/.config/sublime-text-3/Packages/User**\n* For **OSX**, create a \"Default (OSX).sublime-mousemap\" in **~/Library/Application Support/Sublime Text 3/Packages/User**\n* For **Windows**, create a \"Default (Windows).sublime-mousemap\" in **%appdata%\\Sublime Text 3\\Packages\\User**\n\nFor the following binding examples:\n\n| Description | Linux/Windows | OSX |\n| ----------- | ------------- | --- |\n| Go to definition | `ctrl+left-click` | `super+left-click` |\n| View type | `ctrl+right-click` | `super+right-click` |\n\nYou must enter the following conf:\n\n**Linux and Windows**\n\n```json\n[\n    {\n        \"button\": \"button1\",\n        \"count\": 1,\n        \"modifiers\": [\"ctrl\"],\n        \"press_command\": \"drag_select\",\n        \"command\": \"flowtype_goto_definition\",\n        \"context\": [\n            { \"key\": \"selector\", \"operator\": \"equal\", \"operand\": \"source.js\" }\n        ]\n    },\n    {\n        \"button\": \"button2\",\n        \"count\": 1,\n        \"modifiers\": [\"ctrl\"],\n        \"press_command\": \"drag_select\",\n        \"command\": \"flowtype_view_type\",\n        \"context\": [\n            { \"key\": \"selector\", \"operator\": \"equal\", \"operand\": \"source.js\" }\n        ]\n    }\n]\n```\n\n**OSX**\n\n```json\n[\n    {\n        \"button\": \"button1\",\n        \"count\": 1,\n        \"modifiers\": [\"super\"],\n        \"press_command\": \"drag_select\",\n        \"command\": \"flowtype_goto_definition\",\n        \"context\": [\n            { \"key\": \"selector\", \"operator\": \"equal\", \"operand\": \"source.js\" }\n        ]\n    },\n    {\n        \"button\": \"button2\",\n        \"count\": 1,\n        \"modifiers\": [\"super\"],\n        \"press_command\": \"drag_select\",\n        \"command\": \"flowtype_view_type\",\n        \"context\": [\n            { \"key\": \"selector\", \"operator\": \"equal\", \"operand\": \"source.js\" }\n        ]\n    }\n]\n```\n\n## Change Log\n\nAll notable changes to this project will be documented on the Github [Releases](https://github.com/Pegase745/sublime-flowtype/releases) page.\n\n*This project adheres to [Semantic Versioning](http://semver.org/) and [Keep A Changelog](http://keepachangelog.com/).*\n\n## License\n\nThis package is distributed under the terms of the MIT license. See the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPegase745%2Fsublime-flowtype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPegase745%2Fsublime-flowtype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPegase745%2Fsublime-flowtype/lists"}