{"id":22529507,"url":"https://github.com/zserub/melfa-basic","last_synced_at":"2025-03-28T04:44:23.020Z","repository":{"id":199871537,"uuid":"703940565","full_name":"zserub/MELFA-Basic","owner":"zserub","description":"Mitsubishi robot programming language support for VS Code","archived":false,"fork":false,"pushed_at":"2025-02-22T11:22:23.000Z","size":12268,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-22T12:25:00.809Z","etag":null,"topics":["melfa","mitsubishi","robot-programming","vscode-extension","vscode-language-support","vscode-snippets","vscode-theme"],"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/zserub.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":"2023-10-12T08:11:50.000Z","updated_at":"2025-02-22T11:22:27.000Z","dependencies_parsed_at":"2023-11-06T07:39:08.765Z","dependency_job_id":"c1391142-4828-4a46-b3a6-504d9947e687","html_url":"https://github.com/zserub/MELFA-Basic","commit_stats":null,"previous_names":["zserub/melfa-basic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserub%2FMELFA-Basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserub%2FMELFA-Basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserub%2FMELFA-Basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zserub%2FMELFA-Basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zserub","download_url":"https://codeload.github.com/zserub/MELFA-Basic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245972670,"owners_count":20702720,"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":["melfa","mitsubishi","robot-programming","vscode-extension","vscode-language-support","vscode-snippets","vscode-theme"],"created_at":"2024-12-07T07:15:10.047Z","updated_at":"2025-03-28T04:44:22.992Z","avatar_url":"https://github.com/zserub.png","language":"Python","readme":"# MELFA-Basic language extension\n\n**Mitsubishi robot programming language support for VS Code**\n\n*Open melfa codes in VS Code, write then jump to RT Toolbox for upload.*\n\n[![twitter](https://img.shields.io/badge/follow-zserub_-blue?style=flat\u0026logo=Twitter)](https://twitter.com/zserub)\n[![tea](https://img.shields.io/badge/buy%20me-%E2%98%95%EF%B8%8F%20tea-yellow.svg)](https://ko-fi.com/metaphysix)\n\n*Do you want this syntax highlight online? Check out my [MELFA for highlight.js repo](https://github.com/zserub/MELFA-highlight.js)*\n\n## Features\n\n- **Syntax highlight**\n- **Snippets**\n- **Custom color theme**\n- **2 type formatters** *(additional extension required)*\n\n## Workflow\n\nCreate a new workspace in RT Toolbox, then open the prg file with VS Code\n\n**or** Select an existing program for modification.\n\nFormat code to get rid of the line numbers.\n\nWrite your program. After finishing your program, run the `deformer` to apply back the line numbers (Toolbox will automatically update the ones).\n\nOpen the file in RT Toolbox, then upload to the robot.\n\n\u003cbr\u003e\n\n![Showcase](etc/Screenshot.png)\n\n\n### Requirements\n\n- Python (or you can use formatter.exe instead)\n- [Custom Local Formatters](https://marketplace.visualstudio.com/items?itemName=jkillian.custom-local-formatters) (for running the 'deformer' in VS Code)\n\n## Setup\n\n**Install from marketplace**\n\nor\n\n#### *Manual installation:*\n\n*Clone the repo to `C:\\Users\\%userprofile%\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app\\extensions\\`*\n\n### Activate theme\n\n`Ctrl + Shift + P` **--\u003e** `Preferences: Color Theme` **--\u003e** `Dark Theme for MELFA-Basic`\n\n\n\n## Setup 'deformer'\n\nInstall [Custom Local Formatters](https://marketplace.visualstudio.com/items?itemName=jkillian.custom-local-formatters)\n\nOpen settings.json *([Ctrl + , ] --\u003e custom local formatters --\u003e `edit in settings.json`)*\n\nPaste:\n```\n\"customLocalFormatters.formatters\": [\n        {\n            \"command\":\"python \\\"%localappdata%\\\\Programs\\\\Microsoft VS Code\\\\resources\\\\app\\\\extensions\\\\MELFA-Basic\\\\formatter\\\\deformerV2.py\\\"\",\n            \"languages\": [\"melfa-basic\"]\n        }\n    ],\n```\n**Deformer usage:**\n\n`Ctrl + Shift + P` **--\u003e** `Format document with...` **--\u003e** `Custom Local Formatters`\n\n## How formatter works\n\n- Removes the line numbers and `'` in empty lines\n- Adjust spaces\n- Corrects uppercase in keywords\n\nIndent with the following logic:\n- Standard indentation rules for conditions and loops\n- Reset indentation after new label\n\n### Deformer\n\nFormats the code for RT Toolbox.\n- Insert line numbers (Toolbox will readjust)\n- Comment empty lines so Toolbox won't delete them\n\n\u003cbr\u003e\n\n\u003e Please open an issue if you found bugs or suggest features.\n","funding_links":["https://ko-fi.com/metaphysix"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzserub%2Fmelfa-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzserub%2Fmelfa-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzserub%2Fmelfa-basic/lists"}