{"id":28252410,"url":"https://github.com/harishri2002/codefreeze","last_synced_at":"2025-09-03T07:34:16.840Z","repository":{"id":293531087,"uuid":"984329718","full_name":"Harishri2002/CodeFreeze","owner":"Harishri2002","description":"A lightweight and efficient Visual Studio Code extension that enables toggling read-only mode for any file using a keyboard shortcut, context menu, or Command Palette. Protect your files from accidental edits with clear visual indicators and persistent state across sessions.","archived":false,"fork":false,"pushed_at":"2025-05-19T17:55:59.000Z","size":91,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T20:37:08.929Z","etag":null,"topics":["code","extension","microsoft","open-source","ts","vs"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=HarishriBR.CodeFreeze","language":"TypeScript","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/Harishri2002.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,"zenodo":null}},"created_at":"2025-05-15T18:51:46.000Z","updated_at":"2025-05-21T17:00:07.000Z","dependencies_parsed_at":"2025-06-15T20:31:21.020Z","dependency_job_id":"75dbf614-9fb9-4224-9091-7cb7ce8c3e5f","html_url":"https://github.com/Harishri2002/CodeFreeze","commit_stats":null,"previous_names":["harishri2002/codefreeze"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Harishri2002/CodeFreeze","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harishri2002%2FCodeFreeze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harishri2002%2FCodeFreeze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harishri2002%2FCodeFreeze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harishri2002%2FCodeFreeze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Harishri2002","download_url":"https://codeload.github.com/Harishri2002/CodeFreeze/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Harishri2002%2FCodeFreeze/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273409411,"owners_count":25100443,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["code","extension","microsoft","open-source","ts","vs"],"created_at":"2025-05-19T16:15:40.237Z","updated_at":"2025-09-03T07:34:16.790Z","avatar_url":"https://github.com/Harishri2002.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧊 CodeFreeze for VS Code\r\n\r\n\u003e A lightweight and efficient Visual Studio Code extension that enables toggling read-only mode for any file using a keyboard shortcut, context menu, or Command Palette. Protect your files from accidental edits with clear visual indicators and persistent state across sessions.\r\n\r\n## Demo\r\nhttps://github.com/user-attachments/assets/9d6a934d-0e46-47b5-96a8-cb093ad7bf69\r\n\r\n## ✨ Features\r\n\r\n- **Toggle Read-Only Mode**: Use `Ctrl+Alt+F` (Windows/Linux) or `Cmd+Alt+F` (macOS) to lock/unlock files\r\n- **Visual Indicators**: Prominent status bar indicators show when a file is locked\r\n- **Command Palette Integration**: Access via `Ctrl+Shift+P` and search for \"CodeFreeze: Toggle Read-Only Mode\"\r\n- **Context Menu Support**: Right-click a file to toggle read-only mode\r\n- **Persistent State**: Read-only status persists across editor sessions\r\n- **Status Bar Indicator**: Displays the current mode (Read-Only /Editable)\r\n\r\n## 📥 Installation\r\n\r\n1. Open VS Code\r\n2. Go to the Extensions view (`Ctrl+Shift+X` or `Cmd+Shift+X`)\r\n3. Search for \"CodeFreeze\"\r\n4. Click Install to add the extension\r\n5. Reload VS Code if prompted\r\n\r\nAlternatively, install via the VS Code Marketplace or by running:\r\n```\r\ncode --install-extension CodeFreeze\r\n```\r\n\r\n## 🚀 Usage\r\n\r\nOpen any file in VS Code. Toggle CodeFreeze:Read Only mode using one of these methods:\r\n\r\n- **Keyboard Shortcut**: Press `Ctrl+Alt+F` (Windows/Linux) or `Cmd+Alt+F` (macOS)\r\n- **Command Palette**: Press `Ctrl+Shift+P`, then type `Toggle Read-Only Mode`\r\n- **Context Menu**: Right-click the file in the editor and select `Toggle Read-Only Mode`\r\n\r\nWhen locked, the file cannot be edited or saved, and a status bar indicator confirms the mode.\r\n\r\n## 🔧 Extension Settings\r\n\r\nThis extension contributes the following settings:\r\n\r\n- `CodeFreeze.toggle`: Command to toggle CodeFreeze for the active file\r\n\r\nYou can customize the keyboard shortcut in VS Code's Keyboard Shortcuts settings.\r\n\r\n## ⚠️ Known Issues\r\n\r\n*No known issues at this time.*\r\n\r\n## 📝 Release Notes\r\n\r\n### 0.1.0\r\n- Initial release of the CodeFreeze extension\r\n- Features include keyboard shortcut, Command Palette, context menu, and status bar integration\r\n\r\n### 0.1.0\r\n- Read-only mode edit bug fixed\r\n\r\n\r\n## 👥 Contributing\r\n\r\nContributions are welcome! To contribute:\r\n1. Fork the repository\r\n2. Create a feature branch\r\n3. Submit a pull request\r\n\r\n---\r\n\r\nBuilt with ❤️ for the VS Code community.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharishri2002%2Fcodefreeze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharishri2002%2Fcodefreeze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharishri2002%2Fcodefreeze/lists"}