-
Notifications
You must be signed in to change notification settings - Fork 215
[Windows] Suggest spec Code Lens not working #528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@gallexme What do you mean by "@SPEC Auto Suggestion"? Do you mean Code Lens suggesting type specs for functions/macros (which I verified is working) or |
0.6.2 Pic shows the suggestion I'm talking about, a gray @SPEC recommendation which u can click and automatically gets inserted into the code, I'm not the only one with the issue, it happens with any project I'm using Windowsz, but same issue with arch Linux on wsl2 For one guy it worked by repeatedly installing 0.7, but for me only after installing a 0.6 version @axelson Im using Using otp 23 and elixir 1.11 How can I provide u more Infos? https://gitlab.com/zen_core/zen_core |
did post those 2 pics in the issue 0.6.2: https://cdn.discordapp.com/attachments/269508806759809042/829735077779996712/unknown.png 0.7.0: https://media.discordapp.net/attachments/646832679999897610/829994787565731911/unknown.png |
on windows we need to convert from "c:\\some\\other.ex" to "c:/some/other.ex" Fixes #528
* Dialyzer.suggest_contracts expects absnames on windows we need to convert from "c:\\some\\other.ex" to "c:/some/other.ex" Fixes elixir-lsp#528 * fix test on windows * add suggest contracts tests * apply code review suggestion * revert non windows compatible change
Environment
Troubleshooting
.elixir_ls
directory, then restart your editorIf you're experiencing high CPU usage, it is most likely Dialyzer building the PLTs; after it's done the CPU usage should go back to normal. You could also disable Dialyzer in the settings.
Logs
Check the output log by opening
View > Output
and selecting "ElixirLS" in the dropdown. Please include any output that looks relevant. (If ElixirLS isn't in the dropdown, the server failed to launch.)No Errors
Check the developer console by opening
Help > Toggle Developer Tools
and include any errors that look relevant.No Errors
Installing 0.7.0 then repeatedly deleting .elixir_ls does not help
installing 0.6.2 then repeatedly deleting .elixir-ls does help
with 0.6.2 i get suggestions for the @SPEC , with 0.7.0 i dont
0.6.2: https://cdn.discordapp.com/attachments/269508806759809042/829735077779996712/unknown.png
0.7.0: https://media.discordapp.net/attachments/646832679999897610/829994787565731911/unknown.png
The text was updated successfully, but these errors were encountered: