osx - Navigating Phoenix's or Elixir's Codebase in Vim using cTags -
this setup:
mac os 10.12.1 vim 8.0.52 exuberant ctags 5.8
my .vimrc
has: set tags=tags
i generate tags file using ctags -r .
within project root directory , generated file called tags
in same folder.
the ctags navigation within own project files work fine. whenever try see source code phoenix framework (or dependencies)
e426: tag not found: mix
how fix , navigate phoenix's source code?
turns out i've somehow corrupted project's installation.
after trying fix tags specific issue, decided give , move on. trying run mix phoenix.server
got:
unchecked dependencies environment test:
(...) list of dependencies, including final one:
* phoenix_ecto (hex package) dependency not available, run "mix deps.get" ** (mix) can't continue due errors on dependencies
i have no idea how happened. ran mix deps.get
again , had run npm install
again. (phoenix uses brunch)
after that, ran $ ctags -r .
on project's root directory , working fine: both project , ctags navigation, including phoenix's , elixir's source code.
Comments
Post a Comment