{"id":13681241,"url":"https://github.com/axetroy/vscode-deno","last_synced_at":"2025-04-30T03:31:04.277Z","repository":{"id":145997502,"uuid":"174720920","full_name":"axetroy/vscode-deno","owner":"axetroy","description":"Visual Studio Code Deno extension","archived":true,"fork":false,"pushed_at":"2020-05-27T12:42:30.000Z","size":23859,"stargazers_count":102,"open_issues_count":10,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-20T00:28:00.217Z","etag":null,"topics":["deno","deno-support","typescript-deno-plugin","vscode-deno","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=axetroy.vscode-deno","language":"TypeScript","has_issues":false,"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/axetroy.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}},"created_at":"2019-03-09T16:53:50.000Z","updated_at":"2024-01-12T14:46:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"68a7adc8-b67d-4969-bd17-e7639e15ec66","html_url":"https://github.com/axetroy/vscode-deno","commit_stats":null,"previous_names":[],"tags_count":67,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Fvscode-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Fvscode-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Fvscode-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Fvscode-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axetroy","download_url":"https://codeload.github.com/axetroy/vscode-deno/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224196708,"owners_count":17271880,"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":["deno","deno-support","typescript-deno-plugin","vscode-deno","vscode-extension"],"created_at":"2024-08-02T13:01:28.203Z","updated_at":"2024-11-12T00:31:32.403Z","avatar_url":"https://github.com/axetroy.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003e The project is no longer maintained. move to [official extension](https://github.com/denoland/vscode_deno)\n\nEnglish | [中文简体](README_zh-CN.md)\n\n\u003cdiv align=\"center\"\u003e\n\n# Visual Studio Code Deno extension\n\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/axetroy/vscode-deno/build)\n[![Coverage Status](https://coveralls.io/repos/github/axetroy/vscode-deno/badge.svg?branch=refs/heads/master)](https://coveralls.io/github/axetroy/vscode-deno?branch=refs/heads/master)\n[![DeepScan grade](https://deepscan.io/api/teams/6484/projects/9924/branches/132500/badge/grade.svg)](https://deepscan.io/dashboard#view=project\u0026tid=6484\u0026pid=9924\u0026bid=132500)\n\n![Visual Studio Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/axetroy.vscode-deno)\n![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/axetroy.vscode-deno)\n![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/axetroy.vscode-deno)\n![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/r/axetroy.vscode-deno)\n![Visual Studio Marketplace Rating (Stars)](https://img.shields.io/visual-studio-marketplace/stars/axetroy.vscode-deno)\n\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/axetroy/vscode-deno)\n![GitHub repo size](https://img.shields.io/github/repo-size/axetroy/vscode-deno)\n![GitHub](https://img.shields.io/github/license/axetroy/vscode-deno)\n\nAdds Deno support for the Visual Studio Code.\n\n![screenshot](screenshot/screenshot.gif)\n\n\u003c/div\u003e\n\nFeatures:\n\n\u003cdetails\u003e\u003csummary\u003eFull intellisense support\u003c/summary\u003e\n\n![Deno Support](screenshot/deno.gif)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eIntelligent module import\u003c/summary\u003e\n\n![Import](screenshot/import.gif)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eSupports importing ECMAScript modules\u003c/summary\u003e\n\n![Import](screenshot/ecma.gif)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eDiagnostics and quick fixes\u003c/summary\u003e\n\n![Diagnostics](screenshot/diagnostics.gif)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eOptional use of Deno's built in formatting\u003c/summary\u003e\n\n![Format](screenshot/format.gif)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eClient/Server model with LSP\u003c/summary\u003e\n\nThe extension separates Client/Server with LSP\n\nThis means that complicated problems are handled on the server-side\n\nThe extension won't block your Visual Studio Code\n\n![Process](screenshot/process.png)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eSupports `Import Maps` for Deno\u003c/summary\u003e\n\n![import_map](screenshot/import_map.gif)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eExternal type definitions\u003c/summary\u003e\n\nThe extension supports the following ways to load external declaration files\n\n\u003e These are all supported by Deno\n\n1. Compiler hint\n\n```ts\n// @deno-types=\"./foo.d.ts\"\nimport { foo } from \"./foo.js\";\n```\n\nsee [example](/examples/compile-hint/mod.ts)\n\n2. `Triple-slash` reference directive\n\n```ts\n/// \u003creference types=\"https://raw.githubusercontent.com/date-fns/date-fns/master/typings.d.ts\" /\u003e\n\nimport { format } from \"https://deno.land/x/date_fns/index.js\";\n\nformat(new Date(), \"yyyy/MM/DD\");\n```\n\nsee [example](/examples/react/mod.tsx)\n\n3. `X-TypeScript-Types` custom header\n\n```ts\nimport { array } from \"https://cdn.pika.dev/fp-ts\";\n\nconst M = array.getMonoid\u003cnumber\u003e();\nconsole.log(\"concat Array\", M.concat([1, 2], [2, 3]));\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eDeno version manager integration\u003c/summary\u003e\n\nInvestigating integration into the extension\n\nWe recommend you using [dvm](https://github.com/axetroy/dvm) for the manager Deno version.\n\n\u003c/details\u003e\n\n## Usage\n\n1. Download and enable the extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=axetroy.vscode-deno)\n\n2. Enable Deno for your project:\n\n   Create a file `.vscode/settings.json` in your project folder:\n\n   ```json5\n   // .vscode/settings.json\n   {\n     \"deno.enable\": true,\n   }\n   ```\n\n3. Enjoy!\n\n## Configuration\n\n- `deno.enable` - Enable extension. Default is `false`\n\n- `deno.import_map` - The file paths of Import Map. Default is `null`\n\n- `deno.unstable` - If Deno's unstable mode is enabled. Default is `false`\n\nWe recommend that you do not set global configuration. It should be configured in `.vscode/settings.json` in the project directory:\n\n```json5\n// .vscode/settings.json\n{\n  \"deno.enable\": true,\n  \"deno.import_map\": \"./path/to/import_map.json\",\n  \"deno.unstable\": false,\n}\n```\n\nThis extension also provides Deno's formatting tools, settings are in `.vscode/settings.json`:\n\n```json5\n// .vscode/settings.json\n{\n  \"[typescript]\": {\n    \"editor.defaultFormatter\": \"axetroy.vscode-deno\",\n  },\n  \"[typescriptreact]\": {\n    \"editor.defaultFormatter\": \"axetroy.vscode-deno\",\n  },\n}\n```\n\n## Contribute\n\nFollow these steps to contribute, the community needs your strength.\n\n1. Fork project\n\n2. Clone onto your computer:\n\n   ```bash\n   $ git clone https://github.com/your_github_name/vscode-deno.git\n   $ cd vscode-deno\n   $ yarn # or npm install\n   ```\n\n3. Disable extension in Visual Studio Code if you have extension before\n\n4. Start debug extension\n\n   Open Visual Studio Code, find the `Run` item in the sidebar\n   and then run `Launch Client` task.\n\n   Wait for Visual Studio Code debugger to open a new window\n\n5. Try updating Visual Studio Code and restart the debugger\n\n6. Finally, push to your fork and send a PR\n\n## Thanks\n\nThis project was originally a fork of [justjavac/vscode-deno](https://github.com/justjavac/vscode-deno), Thanks for their contributions.\n\n## License\n\nThe [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxetroy%2Fvscode-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxetroy%2Fvscode-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxetroy%2Fvscode-deno/lists"}