{"id":18137750,"url":"https://github.com/canislupaster/cpu-vscode","last_synced_at":"2025-04-19T17:34:28.052Z","repository":{"id":257490483,"uuid":"858189981","full_name":"canislupaster/cpu-vscode","owner":"canislupaster","description":"my vscode extension for competitive programming","archived":false,"fork":false,"pushed_at":"2024-11-17T22:30:36.000Z","size":3769,"stargazers_count":18,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T21:14:40.911Z","etag":null,"topics":["competitive-programming","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=thomasqm.cpu","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/canislupaster.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-16T13:20:12.000Z","updated_at":"2025-03-05T09:44:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c298e34-9bbd-4588-92d9-f31614f741e9","html_url":"https://github.com/canislupaster/cpu-vscode","commit_stats":null,"previous_names":["canislupaster/cpu-vscode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canislupaster%2Fcpu-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canislupaster%2Fcpu-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canislupaster%2Fcpu-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/canislupaster%2Fcpu-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/canislupaster","download_url":"https://codeload.github.com/canislupaster/cpu-vscode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246174509,"owners_count":20735413,"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":["competitive-programming","vscode","vscode-extension"],"created_at":"2024-11-01T15:06:22.346Z","updated_at":"2025-03-30T23:32:49.679Z","avatar_url":"https://github.com/canislupaster.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub last commit](https://img.shields.io/github/last-commit/canislupaster/cpu-vscode)\n![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/thomasqm.cpu)\n![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/thomasqm.cpu)\n![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/thomasqm.cpu)\n![Visual Studio Marketplace Last Updated](https://img.shields.io/visual-studio-marketplace/last-updated/thomasqm.cpu)\n![Static Badge](https://img.shields.io/badge/MIT%20-%20license)\n\n### [website](https://purduecpu.com/extension) / [visual studio marketplace](https://marketplace.visualstudio.com/items?itemName=thomasqm.cpu) / [github](https://github.com/canislupaster/cpu-vscode) / [codeforces blog](https://codeforces.com/blog/entry/134677)\n\n# What's this, another CPH/acmX/FastOlympicCoding/... clone?\n\nYep. I think it looks *slightly* better than any solution out there, though, and has maybe one more feature?\n\nThis was designed primarily for C++ (though you're able to run Java/Python/Rust, but they are mostly untested). It was developed on MacOS and hasn't been tested much on Windows/Linux.\n\nIf you think it's the best option out there for you and need a couple features/fixes, just open an issue on the Github. **This is basically in alpha! I've made it public to source feedback and hope to substantially improve it.**\n\n![Screenshot](resources/screenshot.png)\n\n# Features\n\n- Integrates with clangd and CodeLLDB to provide compilation commands and debugging. \n- File I/O support\n- Bulk import test cases from directory\n- [Competitive Companion integration](https://github.com/jmerle/competitive-companion)\n- Stress testing\n- Custom interactor and checker support\n- Realtime I/O (in addition to test case inputs)\n- Debugging for all supported languages (if you have the right extensions installed)\n\n# Notes\n\n- To enable debugging \u0026 linting, **install CodeLLDB and clangd**\n- The run/debug options for stress tests run/debug the test generator for a random choice of `i`.\n- You probably need to fudge the compiler and arguments in the test editor or VSCode settings to fit your setup (currently it defaults g++, fallback clang)\n- Changing settings in the test editor will only change them for your current workspace (or globally if none)\n- Integrates with [Competitive Companion](https://github.com/jmerle/competitive-companion/tree/master), though uses the host port for Hightail (so you won't be able to use both of our integrations at once)\n- Debugging C++ uses SIGSTOP to halt the program while waiting for the debugger to attach (this was the simplest way). I'm not sure this works on Windows.\n- I feel incompetent because whenever I implement things it seems 10x more complicated than it needs to be, which creates so many failure modes. This thing is not super robust and I expect to discover many bugs.\n\t- If you ever want to laugh at some sad code, this is a goldmine!\n\nBuilt with React and 634 other npm packages. Bundled with ESBuild.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanislupaster%2Fcpu-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcanislupaster%2Fcpu-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcanislupaster%2Fcpu-vscode/lists"}