{"id":13467788,"url":"https://github.com/red/VScode-extension","last_synced_at":"2025-03-26T03:31:08.331Z","repository":{"id":45769154,"uuid":"60333754","full_name":"red/VScode-extension","owner":"red","description":"Red extension for Visual Studio Code","archived":false,"fork":false,"pushed_at":"2025-02-19T07:34:02.000Z","size":6069,"stargazers_count":40,"open_issues_count":8,"forks_count":18,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-14T20:38:28.519Z","etag":null,"topics":["red","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/red.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":"2016-06-03T08:59:37.000Z","updated_at":"2025-02-19T07:34:06.000Z","dependencies_parsed_at":"2024-10-29T20:51:24.613Z","dependency_job_id":null,"html_url":"https://github.com/red/VScode-extension","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red%2FVScode-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red%2FVScode-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red%2FVScode-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red%2FVScode-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/red","download_url":"https://codeload.github.com/red/VScode-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245584676,"owners_count":20639604,"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":["red","vscode","vscode-extension"],"created_at":"2024-07-31T15:01:00.567Z","updated_at":"2025-03-26T03:31:08.318Z","avatar_url":"https://github.com/red.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# VSCode extensions for [Red Programming language](https://www.red-lang.org/)\r\n\r\nAn extension with rich support for the [Red Programming language](https://www.red-lang.org/), with features including the following and more:\r\n\r\n* auto completion\r\n* goto definition\r\n* navigate to any symbol definition\r\n* hover to view signatures\r\n* Interpret or compile Red source file\r\n\r\n## Settings\r\n\r\n### Set the Red binaries\r\n\r\nTo enable features like IntelliSense, you need to configure the path to the [Red binaries](https://www.red-lang.org/p/download.html) in the `Settings`.\r\n\r\nThere are two ways to do it. Details are as follows.\r\n\r\n---\r\n**NOTE**\r\n\r\nRestart the VS Code to take effect after changing the `Settings`.\r\n\r\n---\r\n\r\n### 1. Set the search path of the red binaries\r\n\r\nDownload the [Red binaries](https://www.red-lang.org/p/download.html) to a local folder, then set the `red.redDir` to it. The plugin will use the latest one according to the filename. \r\n\r\n```\r\n\"red.redDir\": \"D:/Tools/Red/\"\r\n```\r\n\r\n### 2. Set the full path of the red binaries\r\n\r\nIf you want to use a specified version of Red binaries, use the following settings:\r\n\r\n```\r\n\"red.redPath\": \"/home/user1/tools/red\"\r\n\"red.redViewPath\": \"/home/user1/tools/red-view\"\r\n\"red.redToolChainPath\": \"/home/user1/tools/red-toolchain\"\r\n```\r\n\r\n### Set the output folder\r\n\r\nYou can also configure the directory for output files of the compiler. The current work space (project) directory is used by default.\r\n\r\n(**Note**: If no work space directory, the output files are in the same folder as the Red source file.)\r\n\r\n\r\n```\r\n\"red.buildDir\": \"/home/user1/debug\"\r\n```\r\n\r\n### Turn off the IntelliSense\r\n\r\nIn case that you don't like this fancy feature. ;)\r\n\r\n```\r\n\"red.intelligence\": false\r\n```\r\n\r\n## Shortcuts\r\n\r\n| Key                       | Command                           | Command id         |\r\n| :------------------------ | --------------------------------- | ------------------ |\r\n| \u003ckbd\u003eF6\u003c/kbd\u003e             | Interpret Current Red File        | red.interpret      |\r\n| \u003ckbd\u003eCtrl+F6\u003c/kbd\u003e        | Interpret Current Red File(GUI)   | red.interpretGUI   |\r\n| \u003ckbd\u003eF7\u003c/kbd\u003e             | Compile Current Red File          | red.compile        |\r\n| \u003ckbd\u003eCtrl+K Ctrl+M\u003c/kbd\u003e  | Show Red Command Menu             | red.commandMenu    |\r\n\r\n\r\nThe following commands are available for the Red extension. These can be associated with keyboard shortcuts via the `keybindings.json` file.\r\n* To configure keyboard shortcuts the way you want, go to the menu under **File \u003e Preferences \u003e Keyboard Shortcuts**. (**Code \u003e Preferences \u003e Keyboard Shortcuts** on Mac)\r\n\r\n```javascript\r\n[\r\n    { \"key\": \"f6\",                    \"command\": \"red.interpret\" },\r\n    { \"key\": \"ctrl+f6\",               \"command\": \"red.interpretGUI\" },\r\n    { \"key\": \"f7\",                    \"command\": \"red.compile\" },\r\n    { \"key\": \"unset\",                 \"command\": \"red.compileReleaseGUI\" },\r\n    { \"key\": \"unset\",                 \"command\": \"red.compileReleaseCLI\" },\r\n    { \"key\": \"unset\",                 \"command\": \"red.clear\" },\r\n    { \"key\": \"unset\",                 \"command\": \"red.update\" },\r\n    { \"key\": \"ctrl+k ctrl+m\",         \"command\": \"red.commandMenu\" },\r\n]\r\n```\r\n\r\n## Feature Screenshots\r\n\r\n* auto completion\r\n\r\n![Image of Completions](https://raw.githubusercontent.com/red/VScode-extension/0.4.1/images/completion.gif)\r\n\r\n* goto definition\r\n\r\n![Image of Goto Definition](https://raw.githubusercontent.com/red/VScode-extension/0.4.1/images/goto-definition.gif)\r\n\r\n* navigate to any symbol definition\r\n\r\n![Image of Goto Definition](https://raw.githubusercontent.com/red/VScode-extension/0.4.1/images/goto-symbols.gif)\r\n\r\n* hover to view signatures\r\n\r\n![Image of Goto Definition](https://raw.githubusercontent.com/red/VScode-extension/0.4.1/images/hover.gif)\r\n\r\n* Interpret or compile Red source file\r\n\r\n![Image of Red Command Menu](https://raw.githubusercontent.com/red/VScode-extension/0.4.1/images/redmenu.gif)\r\n\r\n\r\n## [Issues, Feature Requests and Contributions](https://github.com/red/VScode-extension/issues)\r\n\r\n* Contributions are always welcome. Fork it, modify it and create a pull request.\r\n  + Details on contributing can be found [here](https://github.com/red/VScode-extension/wiki/Contribution) \r\n* Any and all feedback is appreciated and welcome.\r\n  * Please feel free to [add suggestions here](https://github.com/red/VScode-extension/issues)\r\n\r\n## Source\r\n\r\n[Github](https://github.com/red/VScode-extension)\r\n​                \r\n## License\r\n\r\n[BSL-1.0](https://raw.githubusercontent.com/red/VScode-extension/master/LICENSE)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred%2FVScode-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fred%2FVScode-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred%2FVScode-extension/lists"}