{"id":24911405,"url":"https://github.com/jdrupal-dev/drupal_ls","last_synced_at":"2025-03-28T02:50:38.706Z","repository":{"id":274783029,"uuid":"923438317","full_name":"jdrupal-dev/drupal_ls","owner":"jdrupal-dev","description":"The missing language server for Drupal","archived":false,"fork":false,"pushed_at":"2025-03-06T13:47:18.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T14:42:13.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdrupal-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-28T08:45:11.000Z","updated_at":"2025-03-06T13:47:21.000Z","dependencies_parsed_at":"2025-03-06T14:41:15.509Z","dependency_job_id":null,"html_url":"https://github.com/jdrupal-dev/drupal_ls","commit_stats":null,"previous_names":["jdrupal-dev/drupal_ls"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdrupal-dev%2Fdrupal_ls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdrupal-dev%2Fdrupal_ls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdrupal-dev%2Fdrupal_ls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdrupal-dev%2Fdrupal_ls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdrupal-dev","download_url":"https://codeload.github.com/jdrupal-dev/drupal_ls/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960690,"owners_count":20700780,"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":"2025-02-02T04:20:00.040Z","updated_at":"2025-03-28T02:50:38.699Z","avatar_url":"https://github.com/jdrupal-dev.png","language":"Rust","readme":"# Drupal LS\nThe missing language server for Drupal.\n\nWIP!\n\n## Features\n### Hover\n- Service references\n- Service class\n- Route references\n- Route controller/form\n- Hook references\n- Permission references\n### Go to definition\n- Service references\n- Service class\n- Route references\n- Route controller/form\n- Hook references\n- Permission references\n### Completion\n- Services\n- Routes\n- Hook snippets\n- General snippets\n- Permissions\n\n## Installation\n\n### Neovim installation with [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) and lazy.nvim\n\n```lua\n{\n  \"jdrupal-dev/drupal_ls\",\n  event = { \"BufReadPre\", \"BufNewFile\" },\n  dependencies = \"neovim/nvim-lspconfig\",\n  -- Requires cargo to be installed locally.\n  build = \"cargo build --release\",\n  config = function()\n    local lspconfig = require(\"lspconfig\")\n\n    require(\"lspconfig.configs\").drupal_ls = {\n      default_config = {\n        cmd = {\n          vim.fn.stdpath(\"data\") .. \"/lazy/drupal_ls/target/release/drupal_ls\",\n          \"--file\",\n          \"/tmp/drupal_ls-log.txt\",\n        },\n        filetypes = { \"php\", \"yaml\" },\n        root_dir = lspconfig.util.root_pattern(\"composer.json\"),\n        settings = {},\n      },\n    }\n\n    lspconfig[\"drupal_ls\"].setup({})\n  end,\n}\n```\n\n## Roadmap\n### Completion\n- [ ] Autocomplete plugin IDs (eg. queue workers, blocks, fields, migrate source/process/destination).\n- [ ] Autocomplete #theme functions.\n\n### Code actions\n- [ ] Generate __construct doc block.\n- [ ] Generate t function placeholder array.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdrupal-dev%2Fdrupal_ls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdrupal-dev%2Fdrupal_ls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdrupal-dev%2Fdrupal_ls/lists"}