{"id":13623763,"url":"https://github.com/aliariff/vscode-auto-add-brackets","last_synced_at":"2025-10-04T01:50:17.810Z","repository":{"id":33444427,"uuid":"141609177","full_name":"aliariff/vscode-auto-add-brackets","owner":"aliariff","description":"Automatically add complete brackets when writing interpolated string","archived":false,"fork":false,"pushed_at":"2023-07-19T04:42:25.000Z","size":1359,"stargazers_count":10,"open_issues_count":6,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T04:32:11.760Z","etag":null,"topics":["hacktoberfest","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=aliariff.auto-add-brackets","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/aliariff.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":"2018-07-19T17:09:24.000Z","updated_at":"2023-11-24T08:24:32.000Z","dependencies_parsed_at":"2024-06-12T05:57:49.611Z","dependency_job_id":"c72cb622-02aa-47b6-9fcd-7562097692d2","html_url":"https://github.com/aliariff/vscode-auto-add-brackets","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/aliariff/vscode-auto-add-brackets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliariff%2Fvscode-auto-add-brackets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliariff%2Fvscode-auto-add-brackets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliariff%2Fvscode-auto-add-brackets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliariff%2Fvscode-auto-add-brackets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliariff","download_url":"https://codeload.github.com/aliariff/vscode-auto-add-brackets/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliariff%2Fvscode-auto-add-brackets/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278254473,"owners_count":25956598,"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":["hacktoberfest","vscode","vscode-extension"],"created_at":"2024-08-01T21:01:35.372Z","updated_at":"2025-10-04T01:50:17.774Z","avatar_url":"https://github.com/aliariff.png","language":"TypeScript","funding_links":[],"categories":["hacktoberfest"],"sub_categories":[],"readme":"# vscode-auto-add-brackets\n\n[![Test](https://github.com/aliariff/vscode-auto-add-brackets/actions/workflows/test.yaml/badge.svg)](https://github.com/aliariff/vscode-auto-add-brackets/actions/workflows/test.yaml)\n[![Release](https://github.com/aliariff/vscode-auto-add-brackets/actions/workflows/release.yaml/badge.svg)](https://github.com/aliariff/vscode-auto-add-brackets/actions/workflows/release.yaml)\n\nThis extension will automatically add complete brackets when writing interpolated string.\n\nThis solution inspired from sublime text behaviour.\n\n![Demo GIF](https://drive.google.com/uc?export=view\u0026id=1kqZT4yOlKl_gyGOYuwzNSfy6BFRpl4SQ)\n\n## Language Support\n\nBy default the following languages are enabled:\n\n- Coffeescript\n- Crystal\n- Dart\n- Elixir\n- Embedded Crystal\n- ERB\n- Groovy\n- Haml\n- Javascript\n- Javascript React\n- Javascript Vue\n- Kotlin\n- Ruby\n- Scala\n- Slim\n- Typescript\n- Typescript React\n\n### Adding other languages\n\nYou can enable other languages yourself by doing the following:\n\n```json\n{\n  // VSCode settings ...\n\n  \"auto.languages\": {\n    // The key is the languageId for the language (see notes)\n    \"typescript\": {\n      // Symbol used for string interpolations in the language\n      \"symbol\": \"$\",\n      // Type of quotes that surround strings that can be interpolated in the language\n      \"stringWrapper\": \"`\"\n    },\n    \"ruby\": {\n      \"symbol\": \"#\",\n      \"stringWrapper\": \"\\\"\"\n    }\n  }\n}\n```\n\n\u003e note that the key in the configuration object should be a [languageId](https://code.visualstudio.com/docs/languages/identifiers) supported by VSCode\n\nThen add the keybind for the language:\n\n```json\n{\n  // Keybindings ...\n\n  {\n    \"command\": \"auto.addInterpolation\",\n    \"key\": \"shift+3\",\n    \"when\": \"editorTextFocus \u0026\u0026 editorLangId == 'YOUR_LANGUAGE_ID'\"\n  },\n}\n```\n\n\u003e If you are a Vim mode user you should also add `vim.mode != 'Normal' \u0026\u0026 vim.mode != 'Visual' \u0026\u0026 vim.mode != 'VisualBlock' \u0026\u0026 vim.mode != 'VisualLine'` to your \"when\" clause\n\n## Known Issues:\n\n- If you are using a non-US keyboard layout, read this [solution](https://github.com/aliariff/vscode-auto-add-brackets/issues/9#issuecomment-548724717).\n\n## Related issues:\n\n[vscode-ruby/#200](https://github.com/rubyide/vscode-ruby/issues/200)\n\n[vscode-ruby/#210](https://github.com/rubyide/vscode-ruby/issues/210)\n\n## Credits\n\nIcons made by [Icon Monk](https://www.flaticon.com/authors/icon-monk) from [www.flaticon.com](https://www.flaticon.com)\nis licensed by [CC 3.0 BY](http://creativecommons.org/licenses/by/3.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliariff%2Fvscode-auto-add-brackets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliariff%2Fvscode-auto-add-brackets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliariff%2Fvscode-auto-add-brackets/lists"}