expert-lsp / expert-lsp/expert

Go to definition to function defined by macro with name ending in `?` or `!` does not work

未关闭
#853 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Elixir
星标
2.1k
派生
113
平均合并
1 天 10 小时
30 天内合并 PR
26

描述

This is a tracking issue for a bug found by a coworker. #759 added support for going to definition to functions defined by a macro. But turns out is only works for functions with "regular" names (for example `MyApp.Repo.one/1`) but not for the ones ending in `?` or `!` (`MyApp.Repo.exists?/1`)

I opened PR to ElixirSense already, but I think current HEAD of it does not pass tests in Expert, so even after the merge we'd have to figure something out (fork and cherry-pick for a time being, perhaps?).

https://github.com/elixir-lsp/elixir_sense/pull/344

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。