Git Product home page Git Product logo

Comments (6)

cboggs avatar cboggs commented on June 1, 2024 2

Sorry for the delay, was out of the loop for a little bit. :-)

vim-go gives a Location List window. I can happily share some screenshots if you'd like!

from alchemist.vim.

slashmili avatar slashmili commented on June 1, 2024 1

Thanks,

I played around with references but was not able to use it effectively. I saw there is some updates in elixir_sense upstream, I'll try it out again.

from alchemist.vim.

slashmili avatar slashmili commented on June 1, 2024

When I integrated elixir_sense, it didn't have this functionality. However I just checked elixir_sense and it does have a way to find references in the code.

How did vim-go show the result? Does it show it in a Quickfix window?

from alchemist.vim.

kenny-evitt avatar kenny-evitt commented on June 1, 2024

@slashmili Either a QuickFix or a location list would be fine, I think. Can location lists reference other files?

from alchemist.vim.

slashmili avatar slashmili commented on June 1, 2024

I experimented with references feature of ElixirSense

ElixirSense uses Mix Tasks, which works when you run ElixirSense using mix(I still need to figure out how) but in this project we are starting the server using elixir run.exs ... which causes this error

** (exit) exited in: GenServer.call(Mix.ProjectStack, {:get, #Function<11.36738168/1 in Mix.ProjectStack.peek/0>}, 30000)
    ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started
    (elixir) lib/gen_server.ex:999: GenServer.call/3
    lib/mix/project.ex:196: Mix.Project.config/0
    lib/mix/project.ex:521: Mix.Project.manifest_path/0
    lib/mix/tasks/xref.ex:760: Mix.Tasks.Xref.manifests/1
    lib/mix/tasks/xref.ex:220: Mix.Tasks.Xref.calls/1

One option could be to start the mix application manually

Application.ensure_all_started(:mix)

I'm still experimenting with that, I'll update the ticket when I have more information

from alchemist.vim.

kanes115 avatar kanes115 commented on June 1, 2024

Any update on this?

from alchemist.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.