chewm
Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellisense-autocomplete seems not working, I installed elixirLS inside vscode and also vscode-elixir (which seems use elixirsense) I don’t know if I need run a command line before, because seems that for elixirsense you need run a server before start coding, basically I just download the extensions inside vscode and also I compiled this and put the binaries inside my path
can you explain me a little bit how achieve intellisense inside vscode???..I need an extra step?
thank you so much guys, sorry for the super noob question
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello!
Could someone please give me a help/sample code, how to delete a file from s3 using waffle/waffle_ecto from Phoenix app.
I creat...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
I’m trying to set up Emacs with elixir-ls via lsp-mode and credo via Flycheck. This should mostly be preconfigured as Flycheck picks up c...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
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
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
joefractal
If you have elixir in your path, you should just be able to install the extension in vscode and it should just work.
Other data that might help debug,
pietrofxq
I’m having the same issue. Actually Intellisense works for elixir methods, but not for my own classes. Is it suppose to work this way?
NobbZ
There are neither methods, nor classes in elixir, so I assume you are meaning functions and modules.
Can you tell us how you manage your erlang/elixir installation and how you start vs code?
If you use anything other than your systems installation of elixir and starting vs code from the GUI, you are doing it wrong.
Try starting it from the terminal you used to verify that the correct version of erlang and elixir are available.
pietrofxq
Yes sorry, I meant Modules and Functions.
I’m running windows, installed elixir through the installer but override OTP to use version 21.
Output of elixir -v:
I’m using the plugins vscode-elixir and ElixirLS. Autocomplete/intellisense works fine for Elixir own modules, but vscode can’t even recognize the name of my modules. When I start typing there’s no suggestion for them nad neither for the module functions.
NobbZ
No, you use either one, not both. At least as far as I remember…
As soon as I’m back home, we had dinner and the kids are sleeping I can take a look again. Also I might be able to come up with some instructions to debug. I have to admit though that I’m not using windows.
pietrofxq
So, disabling ElixirLS makes the default vscode intellisense work (it searches for used words in the document and I can select them), but then I lose the autocomplete for the Elixir modules. Disabling only vscode-elixir seems to make no difference on the mentioned problem - I have autocomplete on Elixir modules but intellisense on the document for my own code doesn’t work.
I can confirm same behavior on MacOS Mojave. I should probably create an issue on the ElixirLS plugin repo.
Thanks for your help!
jwbaldwin
@NobbZ
I’m currently still having this problem. Elixirls seems to only provide current module and Elixir autocompletion, but not for my projects other modules.
However, I can get it to work by disabling elixirls, and using vscode-elixir instead (but I then lose the goodness of elixirls).
On macOS Catalina. Any help would be great. I can make an issue if you’d like!
NobbZ
I do not use vscode anymore, and I am not sure who actually does.
Perhaps create an issue at Issues · elixir-lsp/vscode-elixir-ls · GitHub and provide some logs from your LS output pane.
Especially what version of the LSP you are on, which version of the plugin you use and what versions of elixir are involved.
catra
What are you using instead of vscode?
NobbZ
Emacs with lsp-mode and elixir-ls, as well as a plentora of others plugins.