{"id":13482431,"url":"https://github.com/vshaxe/haxe-language-server","last_synced_at":"2025-10-07T06:46:08.488Z","repository":{"id":38899344,"uuid":"56170043","full_name":"vshaxe/haxe-language-server","owner":"vshaxe","description":"Language Server Protocol implementation for the Haxe language","archived":false,"fork":false,"pushed_at":"2025-07-31T08:13:42.000Z","size":2178,"stargazers_count":108,"open_issues_count":1,"forks_count":32,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-07-31T11:54:54.413Z","etag":null,"topics":["haxe","ide","intellisense","language-server","language-server-protocol","vscode"],"latest_commit_sha":null,"homepage":"","language":"Haxe","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/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}},"created_at":"2016-04-13T16:55:04.000Z","updated_at":"2025-07-31T08:13:46.000Z","dependencies_parsed_at":"2023-11-07T23:58:29.968Z","dependency_job_id":"9d92b0ff-84b1-44e5-98d5-c3b177fe7b4c","html_url":"https://github.com/vshaxe/haxe-language-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vshaxe/haxe-language-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fhaxe-language-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fhaxe-language-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fhaxe-language-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fhaxe-language-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vshaxe","download_url":"https://codeload.github.com/vshaxe/haxe-language-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshaxe%2Fhaxe-language-server/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":["haxe","ide","intellisense","language-server","language-server-protocol","vscode"],"created_at":"2024-07-31T17:01:01.946Z","updated_at":"2025-10-07T06:46:08.470Z","avatar_url":"https://github.com/vshaxe.png","language":"Haxe","funding_links":[],"categories":["Haxe"],"sub_categories":[],"readme":"# Haxe Language Server\n\n[![CI](https://github.com/vshaxe/haxe-language-server/actions/workflows/main.yml/badge.svg)](https://github.com/vshaxe/haxe-language-server/actions/workflows/main.yml)\n\nThis is a language server implementing [Language Server Protocol](https://github.com/Microsoft/language-server-protocol) for the [Haxe](http://haxe.org/) language.\n\nThe goal of this project is to encapsulate haxe's completion API with all its quirks behind a solid and easy-to-use protocol that can be used by any editor/IDE.\n\nUsed by the [Visual Studio Code Haxe Extension](https://github.com/vshaxe/vshaxe). It has also successfully been used in Neovim and Sublime Text\u003csup\u003e[[1]](https://github.com/vshaxe/vshaxe/issues/171)\u003c/sup\u003e\u003csup\u003e[[2]](https://github.com/vshaxe/vshaxe/issues/328)\u003c/sup\u003e, but no official extensions exist at this time.\n\nNote that any issues should be reported to [vshaxe](https://github.com/vshaxe/vshaxe) directly (this is also the reason why the issue tracker is disabled). Pull requests are welcome however!\n\n**IMPORTANT**: This requires Haxe 3.4.0 or newer due to usage of [`-D display-stdin`](https://github.com/HaxeFoundation/haxe/pull/5120),\n[`--wait stdio`](https://github.com/HaxeFoundation/haxe/pull/5188) and tons of other fixes and additions related to IDE support.\n\n### Building From Source\n\nThe easiest way to work on the language server is probably to build it as part of the vshaxe VSCode extension as instructed [here](https://github.com/vshaxe/vshaxe/wiki/Installation#from-source) (even if you ultimately want to use it outside of VSCode), which allows for easy debugging.\n\nHowever, you can also build it as a standalone project like so:\n\n```\ngit clone https://github.com/vshaxe/haxe-language-server\ncd haxe-language-server\nnpm ci\nnpx lix run vshaxe-build -t language-server\n```\n\nThis creates a `bin/server.js` that can be started with `node server.js`.\n\n### Usage with (Neo)vim\n\nThere's a large amount of language client plugins for (Neo)vim, but the best choice currently seems to be [coc.nvim](https://github.com/neoclide/coc.nvim). A `coc-settings.json` that is known to work with haxe-language-server looks like this:\n\n```haxe\n{\n    \"languageserver\": {\n        \"haxe\": {\n            \"command\": \"node\",\n            \"args\": [\"\u003cpath-to-server.js\u003e\"],\n            \"filetypes\": [\"haxe\"],\n            \"trace.server\": \"verbose\",\n            \"initializationOptions\": {\n                \"displayArguments\": [\"build.hxml\"]\n            },\n            \"settings\": {\n                \"haxe.executable\": \"haxe\"\n            }\n        }\n    }\n}\n```\n\n### Usage with Kate\n\nGo to configure Kate (`Ctrl+Shift+,`) » `LSP Client` » `User Server Settings` » Add the following snippet to the JSON config within the `servers` object. Don't forget to change the path to the LSP server.\n\n```json\n\"haxe\": {\n    \"command\": [\"node\", \"\u003cpath-to-server.js\u003e\"],\n    \"rootIndicationFileNames\": [\"*.hx\", \"*.hxml\"],\n    \"url\": \"https://github.com/vshaxe/haxe-language-server\",\n    \"initializationOptions\": {\"displayArguments\": [\"build.hxml\"]},\n    \"settings\": {\"haxe\": {\"buildCompletionCache\": true}},\n    \"highlightingModeRegex\": \"^Haxe$\"\n},\n```\n\nClick `Apply`, you can then close the window. Use `File` » `Reload` or `F5` to reload the project. Accept when it asks you whether you want to start the LSP server.\n\nWhere `\u003cpath-to-server.js\u003e` can either be a `server.js` you built from source or simply downloaded as part of the Haxe Visual Studio Code extension (`\"/\u003cyou-home-folder\u003e/.vscode/extensions/nadako.vshaxe-\u003cversion\u003e/bin/server.js\"`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshaxe%2Fhaxe-language-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvshaxe%2Fhaxe-language-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshaxe%2Fhaxe-language-server/lists"}