{"id":18394091,"url":"https://github.com/bobmagicii/vscode-auto-fold","last_synced_at":"2025-10-04T00:55:31.020Z","repository":{"id":15653234,"uuid":"78588158","full_name":"bobmagicii/vscode-auto-fold","owner":"bobmagicii","description":"A Visual Studio Code extension to automatically fold code if a magic comment is found.","archived":false,"fork":false,"pushed_at":"2023-03-06T18:42:19.000Z","size":137,"stargazers_count":6,"open_issues_count":19,"forks_count":7,"subscribers_count":1,"default_branch":"redux","last_synced_at":"2025-04-07T03:35:41.574Z","etag":null,"topics":["fold","vscode"],"latest_commit_sha":null,"homepage":null,"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/bobmagicii.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-01-11T00:42:14.000Z","updated_at":"2024-09-03T18:10:27.000Z","dependencies_parsed_at":"2024-11-06T02:05:12.366Z","dependency_job_id":"7c7fdcd1-f88a-47fb-8269-661572b52e00","html_url":"https://github.com/bobmagicii/vscode-auto-fold","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bobmagicii/vscode-auto-fold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobmagicii%2Fvscode-auto-fold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobmagicii%2Fvscode-auto-fold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobmagicii%2Fvscode-auto-fold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobmagicii%2Fvscode-auto-fold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobmagicii","download_url":"https://codeload.github.com/bobmagicii/vscode-auto-fold/tar.gz/refs/heads/redux","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobmagicii%2Fvscode-auto-fold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278250087,"owners_count":25955840,"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-10-03T02:00:06.070Z","response_time":53,"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":["fold","vscode"],"created_at":"2024-11-06T02:03:44.936Z","updated_at":"2025-10-04T00:55:30.990Z","avatar_url":"https://github.com/bobmagicii.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e This is the new branch that is getting rewritten.\n\u003e\n\u003e * Try to solve the various issues people found over time.\n\u003e * Typescript.\n\u003e  * Better Engineering.\n\nAuto Fold for Visual Studio Code\n================================================================================\n\nThis extension allows you to configure multiple methods for automatically\nfolding a file when opened.\n\n\n\nMethod 1: Magic Comment\n--------------------------------------------------------------------------------\n\nThe most simple way to get a file folding is to add a magic comment containing\nthe `\"fold-level=n\"` where `n` is an integer ranging from 0 to 9. All that\nmatters is that it is added to the file in a way that will not cause you syntax\nor compile errors.\n\n**C, PHP, JS, etc:**\n\u003e `// fold-level=2`\n\n**Bash**\n\u003e `# fold-level=2`\n\n**SQL**\n\u003e `-- fold-level=2`\n\n*Note: The old version comment `vscode-fold` is still supported but considered\ndeprecated. You should migrate to the `fold-level` version because people had\nexpressed it making plugins for other editors to reuse these.*\n\n\n\n\nMethod 2: Configured By File Type\n--------------------------------------------------------------------------------\n\n\u003e TODO\n\n\n\n\nMethod 3: Configured Default\n--------------------------------------------------------------------------------\n\n\u003e TODO\n\n\n\n\nOther Options\n--------------------------------------------------------------------------------\n\n\u003e TODO: Auto Fold All Block Comments\n\u003e executeCommand('editor.foldAllBlockComments')\n\u003e https://github.com/bobmagicii/vscode-auto-fold/issues/21\n\n\u003e TODO: Auto Fold All Marker Regions\n\u003e executeCommand('editor.foldAllMarkerRegions')\n\u003e https://github.com/bobmagicii/vscode-auto-fold/issues/19\n\n\u003e TODO: Only Auto Fold Files Longer Than n Lines\n\u003e https://github.com/bobmagicii/vscode-auto-fold/issues/7\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobmagicii%2Fvscode-auto-fold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobmagicii%2Fvscode-auto-fold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobmagicii%2Fvscode-auto-fold/lists"}