shahryarjb
Hi, I installed some plugins on Vscode for elixir but I don’t know why Vscode’s Autocomplete doesn’t work.
see this image please:
it doesn’t load any Elixir module. the plugins I installed are in left side of my image
my user settings.json
// Place your settings in this file to overwrite the default settings
{
"editor.fontSize": 18,
"editor.tabSize": 3,
"editor.insertSpaces": true,
"editor.detectIndentation": true,
"window.zoomLevel": 0,
"editor.wordWrap": "on",
"workbench.colorTheme": "Solarized Light",
"[Eex]": {},
"emmet.includeLanguages": {"HTML (Eex)": "html"},
"files.associations": {
"*.eex": "HTML (EEx)",
"*.leex": "HTML (EEx)"
},
"[HTML (Eex)]": {},
"explorer.confirmDragAndDrop": false
}
and this image is my mix file:
!Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
Using Phoenix.LiveView.TagEngine as an EEx.Engine is deprecated!
To compile HEEx, use Phoenix.LiveView.TagEngine.compile/2 instead.
Sta...
New
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app?
Looking for hints regarding:
Addi...
New
Hi all, I wanted to ask how the community is dealing with post-release steps.
Today we have Ecto migrations, which make sure that the db...
New
Kia ora,
We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #performance













First 10 of 10 Posts
sztosz
From my understanding, elixir-ls stopped being actively developed some time ago, use that instead: GitHub - elixir-lsp/elixir-ls: A frontend-independent IDE "smartness" server for Elixir. Implements the "Language Server Protocol" standard and provides debugger support via the "Debug Adapter Protocol" · GitHub It’s actively developed fork.
NobbZ
From your first screenshot it seems as if you were using JakeBeckers language server plugin. It is not under development anymore and probably will break with Elixir 1.10.
Instead you should install the fork which is actively maintained and got quick fixes to work with Elixir 1.10 within days after the problems have been identified.
Also, whenever there are problems marked in your code, make sure you check the problems pane in the VScode. It might give you additional details.
shahryarjb
Hi, I deleted that plugin and installed the fork . but it still docent work, I just need Autocomplete in ex file and
eex, leex.it just shows me this error in VScode console:
Build failed for unknown reason. See output log.NobbZ
Have you looked at the output log?
shahryarjb
you mean in
VscodeOUTPUT log ? yes but I didn’t find anything which was useful , but in extension host log I have these lines:NobbZ
I meant in the “OUTPUT” pane, there is a dropdown to the right, there you can check the “ElixirLS” log.
Though as far as I remember,
mjmcloug.vscode-elixirbuilds on the “elixir-sense” library which is used in the LS-fork as well.Therefore it might be, that either both extensions are conflicting, or, as the last release of
mjmcloug.vscode-elixiris from 2017, it might just be, that it suffers from the same incompatibilites with Elixir 1.10, that also JakeBeckers LS implementation now suffers from.Try deactivating that plugin.
shahryarjb
Thanks, I think it was fixed and there is no problem.
shahryarjb
Hi, I used ElixirLS Fork in my project and it worked well and made good type space for my each function. but it doesn’t show type space in my new umbrella project
how can I fix this ?
axelson
I’m assuming your talking about the inferred type specs from code lens. Are you receiving any errors? Here’s some of the debug instructions for vscode:
View > Outputand selecting “ElixirLS” in the dropdown. Please include any output that looks relevant. (If ElixirLS isn’t in the dropdown, the server failed to launch.)Help > Toggle Developer Toolsand include any errors that look relevant.shahryarjb
Hi, I deleted all the
deps,_buildand.elixir_lsfile after these job I closed VScode and re-launch it, but it didint work until I renamed a function name and saved , recompiled. for now it works and shows me@spec.if I see this problem I said I will definitely do what you said,
Thank you