{"id":18876629,"url":"https://github.com/vanjs-org/vanjs-importtag","last_synced_at":"2025-09-08T11:21:15.911Z","repository":{"id":193560384,"uuid":"689047263","full_name":"vanjs-org/vanjs-importtag","owner":"vanjs-org","description":"VS Code extension for importing tag function at the cursor","archived":false,"fork":false,"pushed_at":"2023-09-08T18:09:32.000Z","size":121,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T23:01:48.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/vanjs-org.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":"2023-09-08T17:07:47.000Z","updated_at":"2025-06-18T14:28:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2c87544-1272-4e58-b4dd-00d3143a3f17","html_url":"https://github.com/vanjs-org/vanjs-importtag","commit_stats":null,"previous_names":["vanjs-org/vanjs-importtag"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vanjs-org/vanjs-importtag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanjs-org%2Fvanjs-importtag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanjs-org%2Fvanjs-importtag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanjs-org%2Fvanjs-importtag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanjs-org%2Fvanjs-importtag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanjs-org","download_url":"https://codeload.github.com/vanjs-org/vanjs-importtag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanjs-org%2Fvanjs-importtag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274174887,"owners_count":25235341,"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-08T02:00:09.813Z","response_time":121,"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":[],"created_at":"2024-11-08T06:14:30.807Z","updated_at":"2025-09-08T11:21:15.858Z","avatar_url":"https://github.com/vanjs-org.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vanjs-importtag README\n\nThis is the VS Code extension for the command that can import tag functions at the cursor.\n\n## Command Reference\n\n### `VanJS: import tag` (`vanjs-importtag.import`)\n\nImport the tag function at the cursor. For instance, if the symbol at the cursor is `span`, this commands will add `span` into tag function importing line. It supports the importing line in this way:\n\n```js\nconst {a, div, li, p, ul} = van.tags\n```\n\nand also in this way:\n\n```js\nconst {state, tags: {a, div, li, p, ul}} = van\n```\n\nAll the tag functions in the importing line will be ordered alphabetically.\n\nNote that this command will preserve the existing spacing style for the tag function list. Thus whether your current code file is in a compact style, like this:\n\n```js\nconst {a, div, li, p, ul} = van.tags\n```\n\nor in a normal style, like this:\n\n```js\nconst { a, div, li, p, ul } = van.tags\n```\n\nthis command won't change the existing style in the current file.\n\nIf your importing line is empty:\n\n```js\nconst {} = van.tags\n```\n\nthis command will choose the normal spacing style, as this one is preferred by more people.\n\nYou can bind the command with a shortcut of your preference. For instance, the following snippet:\n\n```json\n{\n    \"key\": \"ctrl+/ t\",\n    \"command\": \"vanjs-importtag.import\"\n},\n```\n\nwill bind the command with shortcut `ctrl+/ t`.\n\n## See Also:\n\nhttps://github.com/vanjs-org/vanjsHelper: The VS Code extension as my personal helper for writing **VanJS** code and **Mini-Van** code. Specifically, it defines commands that are helpful for building the https://vanjs.org/ website.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanjs-org%2Fvanjs-importtag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanjs-org%2Fvanjs-importtag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanjs-org%2Fvanjs-importtag/lists"}