{"id":49670127,"url":"https://github.com/tachuris/vscode-iferrblocks","last_synced_at":"2026-05-06T22:11:52.029Z","repository":{"id":137511733,"uuid":"102984000","full_name":"tachuris/vscode-iferrblocks","owner":"tachuris","description":"A Visual Studio Code extension that (un)folds all Go error handling blocks.","archived":false,"fork":false,"pushed_at":"2017-09-10T00:07:03.000Z","size":12067,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-08T04:43:12.625Z","etag":null,"topics":["folding","golang","typescript","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tachuris.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":"2017-09-09T20:45:20.000Z","updated_at":"2024-03-30T14:29:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"98c4dbbb-1f43-49ed-a48d-a93d48b4dd2f","html_url":"https://github.com/tachuris/vscode-iferrblocks","commit_stats":null,"previous_names":["tachuris/vscode-iferrblocks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tachuris/vscode-iferrblocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachuris%2Fvscode-iferrblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachuris%2Fvscode-iferrblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachuris%2Fvscode-iferrblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachuris%2Fvscode-iferrblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tachuris","download_url":"https://codeload.github.com/tachuris/vscode-iferrblocks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachuris%2Fvscode-iferrblocks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["folding","golang","typescript","vscode","vscode-extension"],"created_at":"2026-05-06T22:11:50.581Z","updated_at":"2026-05-06T22:11:52.016Z","avatar_url":"https://github.com/tachuris.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode-iferrblocks\n\nDon't get me wrong: I do think that [Go's error handling is elegant](https://davidnix.io/post/error-handling-in-go/), but sometimes one just want to follow the happy path alone folding those pessimistic parts of the code, and then get back to fully see all that wonderful error handling. Or maybe not if you find it [cluttered and hard to read](https://www.reddit.com/r/golang/comments/6v07ij/copypasting_if_err_nil_return_err_everywhere/).\n\n## Features\n\nThis extension finds all the `if err` blocks and either fold them or unfold them. The rest of the foldings keep untouched. That's it.\n\n![Folding and unfolding of if err blocks](images/2017-09-09-17-10-33.gif)\n\n## Release Notes\n\n### 1.1.1\n\nInitial release of iferrblocks.\n\n**Enjoy!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachuris%2Fvscode-iferrblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftachuris%2Fvscode-iferrblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachuris%2Fvscode-iferrblocks/lists"}