{"id":31647838,"url":"https://github.com/vshaxe/vscode-extern","last_synced_at":"2025-10-07T06:46:12.772Z","repository":{"id":8317448,"uuid":"57973133","full_name":"vshaxe/vscode-extern","owner":"vshaxe","description":"VS Code API externs for Haxe","archived":false,"fork":false,"pushed_at":"2025-05-11T23:35:39.000Z","size":2914,"stargazers_count":41,"open_issues_count":1,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-12T00:25:33.111Z","etag":null,"topics":["externs","haxe","visual-studio-code","vscode"],"latest_commit_sha":null,"homepage":"http://vshaxe.github.io/vscode-extern/","language":"Haxe","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/vshaxe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2016-05-03T13:54:47.000Z","updated_at":"2025-05-11T23:35:16.000Z","dependencies_parsed_at":"2025-05-12T00:22:42.544Z","dependency_job_id":null,"html_url":"https://github.com/vshaxe/vscode-extern","commit_stats":null,"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"purl":"pkg:github/vshaxe/vscode-extern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fvscode-extern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fvscode-extern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fvscode-extern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fvscode-extern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vshaxe","download_url":"https://codeload.github.com/vshaxe/vscode-extern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fvscode-extern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734434,"owners_count":26036404,"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-07T02:00:06.786Z","response_time":59,"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":["externs","haxe","visual-studio-code","vscode"],"created_at":"2025-10-07T06:46:09.170Z","updated_at":"2025-10-07T06:46:12.766Z","avatar_url":"https://github.com/vshaxe.png","language":"Haxe","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visual Studio Code API externs for Haxe\n\n[![CI](https://img.shields.io/github/workflow/status/vshaxe/vscode-extern/CI.svg?logo=github)](https://github.com/vshaxe/vscode-extern/actions?query=workflow%3ACI)\n[![Haxelib Version](https://badgen.net/haxelib/v/vscode)](https://lib.haxe.org/p/vscode)\n[![Haxelib Downloads](https://badgen.net/haxelib/d/vscode?color=blue)](https://lib.haxe.org/p/vscode)\n[![Haxelib License](https://badgen.net/haxelib/license/vscode)](LICENSE.md)\n\nThis extern library makes it possible to write extensions for [Visual Studio Code](https://code.visualstudio.com/)\nusing [Haxe](https://haxe.org/).\n\nVS Code API version: **1.97**\n\n**NOTE**: Requires Haxe 4.3 or later\n\n## Usage\n\nGlobal functions and variables from the `vscode` namespace are available through `Vscode` top-level class,\nwhile types defined in `vscode` namespace are located in the `vscode` package. The node.js API externs are\nprovided by the [hxnodejs](https://github.com/HaxeFoundation/hxnodejs) library.\n\n~~The current \"proposed\" APIs are provided via `VscodeProposed` top-level class for the `vscode` namespace\nand the `vscode.proposed` package.~~\n\nVS Code expects a .js module that exports the `activate` function that will be called upon\nextension activation. In Haxe this is done using the `@:expose` metdata.\n\nExample:\n\n```haxe\nclass HelloHaxe {\n    @:expose(\"activate\")\n    static function activate(context:vscode.ExtensionContext) {\n        Vscode.window.showInformationMessage(\"Hello from Haxe!\");\n    }\n}\n```\n\ncompile with:\n\n```\nhaxe -lib vscode -js hellohaxe.js HelloHaxe\n```\n\nFor a complete extension example, check the [example/](https://github.com/vshaxe/vscode-extern/tree/master/example) directory inside this repository.\n\nFor generated extern API documentation, proceed [here](http://vshaxe.github.io/vscode-extern/).\n\nFor general information about how to extend Visual Studio code,\ncheck [their documentation](https://code.visualstudio.com/docs/extensions/overview).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshaxe%2Fvscode-extern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvshaxe%2Fvscode-extern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshaxe%2Fvscode-extern/lists"}