Comments (6)
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.
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.
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.
@slashmili Either a QuickFix or a location list would be fine, I think. Can location lists reference other files?
from alchemist.vim.
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.
Any update on this?
from alchemist.vim.
Related Issues (20)
- socket is not available HOT 17
- K / ExDoc loses last line of documentation HOT 1
- Suggestions dont show up for deoplete HOT 2
- failed to load deoplete source HOT 2
- something wrong editing the elixir code with spacevim HOT 1
- error on looking up for a function that is imported
- Error when work with YouCompleteMe HOT 1
- Problems installing with vim-plug for VimR (Neovim) on macOS? HOT 1
- Change short keys bindings for ExDoc? HOT 7
- ExDoc and ExDef for functions (or modules) in Embedded Elixir files HOT 1
- ExDoc shortcut fails when non-ascii characters present in source file HOT 7
- ExDoc is wrong arity for function called in 'pipeline' HOT 3
- Python error HOT 2
- When trying to jump to a function definition: Error: "E484: Can't open file: b' ..." HOT 3
- Autocomplete imports already written module HOT 7
- definition_not_found% for local definition in small project (wrong working directory?) HOT 5
- Autocomplete not works on Windows HOT 3
- Doesn't work on Ubuntu 20.04 HOT 6
- Can we change this to '<C-[>'?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alchemist.vim.