{"id":16788847,"url":"https://github.com/narumincho/vscode","last_synced_at":"2025-03-23T15:31:18.344Z","repository":{"id":142502606,"uuid":"610015577","full_name":"narumincho/vscode","owner":"narumincho","description":"vscode api for deno","archived":false,"fork":false,"pushed_at":"2025-03-08T07:34:05.000Z","size":1271,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T21:52:10.120Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://zenn.dev/narumincho/articles/deno-vscode-extension","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/narumincho.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-03-05T22:24:14.000Z","updated_at":"2025-03-08T07:33:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"e8c7fb06-9b47-406f-91d6-ab28a0cd7bb1","html_url":"https://github.com/narumincho/vscode","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fvscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fvscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fvscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Fvscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/narumincho","download_url":"https://codeload.github.com/narumincho/vscode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122753,"owners_count":20564366,"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","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-10-13T08:25:02.589Z","updated_at":"2025-03-23T15:31:17.874Z","avatar_url":"https://github.com/narumincho.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vscode\n\n## Visual Studio Code Extension Development for Deno\n\n- https://deno.land/x/vscode\n- https://jsr.io/@narumincho/vscode\n\nmodified for Deno from\nhttps://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/vscode/index.d.ts\n\nMust be bundled with\n\n- [esbuild](https://github.com/esbuild/deno-esbuild) with\n  [esbuild-deno-loader](https://github.com/lucacasonato/esbuild_deno_loader)\n- or similar\n\n```ts\nimport { type ExtensionContext, importVsCodeApi } from \"jsr:@narumincho/vscode\";\n\nexport function activate(context: ExtensionContext) {\n  const vscode = importVsCodeApi();\n  if (vscode === undefined) {\n    throw new Error(\n      \"Could not import vscode api because it was not working within the extension\",\n    );\n  }\n\n  console.log(\n    'Congratulations, your extension \"helloworld-sample\" is now active!',\n  );\n\n  const disposable = vscode.commands.registerCommand(\n    \"extension.helloWorld\",\n    () =\u003e {\n      vscode.window.showInformationMessage(\"Hello World!\");\n    },\n  );\n\n  context.subscriptions.push(disposable);\n}\n```\n\nAll examples can be found\n[here](https://github.com/narumincho/vscode/tree/main/example)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarumincho%2Fvscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarumincho%2Fvscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarumincho%2Fvscode/lists"}