{"id":24511006,"url":"https://github.com/p-org/sublime-p","last_synced_at":"2026-02-19T11:03:15.936Z","repository":{"id":50097145,"uuid":"50146522","full_name":"p-org/Sublime-P","owner":"p-org","description":"Sublime plugin for P","archived":false,"fork":false,"pushed_at":"2021-06-04T09:44:07.000Z","size":68,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-10-23T08:53:03.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/p-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-01-22T00:31:12.000Z","updated_at":"2021-06-04T09:44:10.000Z","dependencies_parsed_at":"2022-08-03T19:00:21.783Z","dependency_job_id":null,"html_url":"https://github.com/p-org/Sublime-P","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/p-org/Sublime-P","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-org%2FSublime-P","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-org%2FSublime-P/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-org%2FSublime-P/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-org%2FSublime-P/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p-org","download_url":"https://codeload.github.com/p-org/Sublime-P/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p-org%2FSublime-P/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29611002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-01-22T00:36:01.602Z","updated_at":"2026-02-19T11:03:15.920Z","avatar_url":"https://github.com/p-org.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sublime-P\nP language plugin for Sublime Text 3. Includes basic syntax highlighting, comments format and some snippets.\n\n# Screenshot\n![Screenshot](/example.png?raw=true)\n\n# Install\n\nUse the Command Palette to `Add Repository` and add this GitHub repository.\nThen use the Command Palette to `Install Package` and search for and install `Sublime-P`. \n\n# Conventions\nThe syntax highlighting assumes the following conventions, but you don't have to follow them.  \n* Type names end with `Type`. E.g. `StartMessageType`.\n* Fields end with `V`. E.g. `TimerV`.\n* Events start with `e`. E.g. `eStop`, `eStart`.\n* Machine names end with `Machine`. E.g. `ElevatorMachine`.\n* State names have no conventions and so have no color.\n\nThese conventions are followed by the snippets, so you don't have to remember them.\n\n# Snippets\nSnippets include: `event`, `implementation`, `machine`, `module`, `test`, `type`, `var` (for fields), `whileindex`.\nTo use a snippet, start typing one of these words and press tab. Then continue typing to replace the placeholder names and press tab further times to jump to the next placeholder or cursor position.\n\nE.g. Start typing `while`. The `whileindex` completion pops up. Press tab to get:\n```\nindex = 0;\nwhile(index \u003c sizeof(Array))\n{\n\t\n    index = index + 1;\n}\n```\nTyping will replace all instances of `index`. Pressing tab jumps to `Array` which is the next placeholder. Pressing tab again places the cursor after the first curly brace.\n\n# Making changes to `p.tmLanguage`\nThe `p.tmLanguage` file defines the syntax highlighting. It is a generated file, but is committed for convenience.\nTo make changes, do the following: \n\n1. Install [Package Control](https://packagecontrol.io/installation) in Sublime Text 3 and then use the Command Palette `Ctrl+Shift+P` to `Install Package` and search for and install `PackageDev`. \n2. Open `p.YAML-tmLanguage`.\n3. Make your changes.\n4. Use the Command Palette to execute `Build With: Convert to ... - Property List`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp-org%2Fsublime-p","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp-org%2Fsublime-p","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp-org%2Fsublime-p/lists"}