vscode-elixir-ls: Symbol search does not work
Command+T allows to search for modules but it seems to be the default VSC functionnality. Using prefixes like f or t does not find anything.
Otherwise the outline panel shows all symbols without problem.
- Elixir & Erlang versions (elixir --version): Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]
- Elixir 1.10.2 (compiled with Erlang/OTP 22)
- VSCode ElixirLS Fork version: 0.3.2
- Operating System Version: darwin 18.7.0
- Visual studio: Version: 1.44.2 Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd Date: 2020-04-16T17:07:18.473Z (2 wks ago) Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Darwin x64 18.7.0
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 20 (5 by maintainers)
I have the same problem on my machine. No Symbol search, and also no go to definition. Even though ElixirLS apparently indexes stuff correctly in the output tab.
@axelson @lud we can close it now as query prefix feature was removed
I suspect this happened in VS Code v1.44
I stuck some inspect statements in to the workspace symbol provider and it looks like anything after a space never makes it to the language server
I have the follow logs as well:
It seems that functions should be added to ElixirLS’ WorkspaceSymbols, yet they are not listed when searching with cmd+T ¯_(ツ)_/¯
It works for me, I installed the extension from git but changed the tool-version to match my project. I then disabled the dialyzer and i can still search by symbol.