Closed shosti closed 8 years ago
Hi @shosti
I guess you just need to setup the right erlang & elixir source variables. Have a look here how to do this: http://alchemist.readthedocs.io/en/latest/basic_usage/#definition-lookup
Please give me feedback or ping me #irc or #slack if you still have issues.
ping @shosti
@shosti ping :)
@tonini sorry got sidetracked! Those both look perfect; couldn't find them earlier. I'll give them a try!
This might be setup-specific (I'm using asdf for elixir version-management), but jumping to definitions in Elixir/the stdlib doesn't work out of the box on my system. A little poking makes it easy to see why:
Obviously not much good :wink:
As a horrifically hacky workaround, I've symlinked /Users/jose/OSS/elixir to a local checkout of the elixir source code, which seems to work pretty well.
I'm wondering if you have thoughts on a better solution? (Ideally this would be fixed upstream, but I'm not sure how feasible that is.) One idea: have an
alchemist-elixir-src-dir
variable that's user-settable and gets passed into alchemist-server as a default (kind of analogous tofind-function-C-source-directory
).