{"id":13633052,"url":"https://github.com/Whitebrim/VSCode-PlaydateTemplate","last_synced_at":"2025-04-18T10:33:53.402Z","repository":{"id":40521760,"uuid":"388957153","full_name":"Whitebrim/VSCode-PlaydateTemplate","owner":"Whitebrim","description":"This template will help you with autocompletion and running your code in simulator. Windows \u0026 Linux.","archived":false,"fork":false,"pushed_at":"2024-08-17T00:44:47.000Z","size":44,"stargazers_count":194,"open_issues_count":2,"forks_count":26,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-17T01:53:20.729Z","etag":null,"topics":["linux","lua","panic","playdate","vscode","windows"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Whitebrim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-07-24T00:08:28.000Z","updated_at":"2024-08-17T00:44:50.000Z","dependencies_parsed_at":"2022-08-09T22:40:25.607Z","dependency_job_id":"941888ee-9144-4acc-8f74-11752e21c544","html_url":"https://github.com/Whitebrim/VSCode-PlaydateTemplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whitebrim%2FVSCode-PlaydateTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whitebrim%2FVSCode-PlaydateTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whitebrim%2FVSCode-PlaydateTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whitebrim%2FVSCode-PlaydateTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whitebrim","download_url":"https://codeload.github.com/Whitebrim/VSCode-PlaydateTemplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223779417,"owners_count":17201175,"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":["linux","lua","panic","playdate","vscode","windows"],"created_at":"2024-08-01T23:00:26.024Z","updated_at":"2025-04-18T10:33:53.386Z","avatar_url":"https://github.com/Whitebrim.png","language":"Shell","readme":"\u003cimg src=\"https://media.giphy.com/media/QhNgpDotBASjWj7asJ/giphy.gif\" width=\"800\" height=\"480\" /\u003e\n\n# Installation (Windows):  \n0. **Unlock** `Build and Run (Simulator).ps1` file if it's locked: open properties and click unlock in the bottom of the window.\n0. If you've installed Playdate SDK to the default path (Documents folder) then just **run** `ADD_ENV_VARIABLE.cmd` to add env variables:  \n    * PLAYDATE_SDK_PATH to Playdate SDK\n    * Adds Playdate SDK's bin folder to PATH (if it is not already added) to create `pdc` shortcut  \n\n    **!!!** If you've changed default path - edit 6th line in `ADD_ENV_VARIABLE.cmd`, then run it.  \n    `set SDKPATH=\"YOUR CUSTOM SDK PATH HERE\"`\n    \n    This should be done only once, you need to restart VSCode after this.  \n0. ~~Edit your `Code.exe` execatable (VSCode) to run with **admin rights** by default. You can find this file if you input this path to your explorer: `%appdata%\\..\\Local\\Programs\\Microsoft VS Code`~~  \n    Open Windows PowerShell and change execution policy to RemoteSigned, so you can run closeSim.ps1 without admin rights:  \n    Enter `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser` into PowerShell then hit `Y`.\n0. Open template folder with VSCode, **install recomended extensions** (popup will show in the lower right corner): `Lua`, `Lua Plus`. Then restart VSCode.  \n0. If you want to change \"build and run\" key (default is Ctrl+Shift+B):  \n    * **Ctrl + K, Ctrl + S**  \n    * Change keybind for `Tasks: Run Build Task` (I've changed to **F5**)  \n0. Your can find your `main.lua` file inside `Source` folder. Press your \"Run Build Task\" button, you should see \"Template\" text in playdate simulator.\n0. Feel free to delete `dvd.lua` and all dvd-related lines from `main.lua` (marked `-- DEMO`)\n\n## ⚠️ Don't forget to change your unique project info in `Source/pdxinfo`: \"bundleID\", \"name\", \"author\", \"description\". Read more about pdxinfo [here](https://sdk.play.date/Inside%20Playdate.html#pdxinfo). It's critical to change your game bundleID, so there will be no collisions with other games, installed via sideload.\n  \n# Installation (Linux):\n0. If it's not already executable, navigate to this directory and make `build_and_run.sh` executable by running the following command:\n    ```\n    chmod +x build_and_run.sh\n    ```\n0. Add `PLAYDATE_SDK_PATH` to your `.bashrc`/`.zshrc` or equivalent, and source it; check it with: `env | grep -i playdate`\n0. Launch/relaunch VSCode - if prompted to install extensions, click Yes.\n0. If desired, change the default key sequence for Build/Run as described in the Windows instructions above\n\n## ⚠️ Don't forget to change your unique project info in `Source/pdxinfo`: \"bundleID\", \"name\", \"author\", \"description\". Read more about pdxinfo [here](https://sdk.play.date/Inside%20Playdate.html#pdxinfo). It's critical to change your game bundleID, so there will be no collisions with other games, installed via sideload.\n\n# Installation (Mac):\nhttps://github.com/cadin/playdate-vscode-template\n","funding_links":[],"categories":["Game Development"],"sub_categories":["Programming Frameworks \u0026 Languages"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWhitebrim%2FVSCode-PlaydateTemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWhitebrim%2FVSCode-PlaydateTemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWhitebrim%2FVSCode-PlaydateTemplate/lists"}