Autocomplete or Goto definition are not working.
[Enter steps to reproduce:]
- When I [Alt + Click] on a function, for going to its definition.
- This is an umbrella project FYI.
Atom: 1.17.2 x64 Electron: 1.3.15 OS: elementary OS Thrown From: atom-elixir package 0.2.3
Stack Trace
Uncaught TypeError: Cannot read property 'stdin' of null
At /home/abhinav/.atom/packages/atom-elixir/lib/server-process.coffee:164
TypeError: Cannot read property 'stdin' of null
at ServerProcess.module.exports.ServerProcess.sendRequest (/packages/atom-elixir/lib/server-process.coffee:164:12)
at ServerProcess.module.exports.ServerProcess.getDefinitionFile (/packages/atom-elixir/lib/server-process.coffee:88:6)
at ElixirGotoDefinitionProvider.module.exports.ElixirGotoDefinitionProvider.gotoDefinition (/packages/atom-elixir/lib/elixir-goto-definition-provider.coffee:59:13)
at ElixirGotoDefinitionProvider.module.exports.ElixirGotoDefinitionProvider.keyClickHandler (/packages/atom-elixir/lib/elixir-goto-definition-provider.coffee:48:6)
at KeyClickEventHandler.clickCallback (/packages/atom-elixir/lib/elixir-goto-definition-provider.coffee:1:1)
at KeyClickEventHandler.module.exports.KeyClickEventHandler.mousedownHandler (/packages/atom-elixir/lib/keyclick-event-handler.coffee:39:8)
at /packages/atom-elixir/lib/keyclick-event-handler.coffee:1:1)
Commands
-1:43.7.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always)
-1:36.5.0 intentions:highlight (input.hidden-input)
-1:36 core:save (input.hidden-input)
Non-Core Packages
atom-beautify 0.29.26
atom-elixir 0.2.3
auto-indent 0.5.0
busy-signal 1.4.3
color-picker 2.2.5
elm 0.1.0
elm-format 2.2.0
elmjutsu 5.5.2
es6-javascript 1.0.0
file-icons 2.1.7
git-plus 7.9.3
git-time-machine 1.5.9
goto 1.8.3
goto-definition 1.3.3
highlight-selected 0.13.1
hyperclick 0.0.40
intentions 1.1.2
language-docker 1.1.8
language-elixir 0.18.0
language-elm 1.5.0
linter 2.1.4
linter-elixir-credo 1.1.0
linter-elixirc 1.6.0
linter-elm-make 0.23.2
linter-ui-default 1.6.0
minimap 4.28.2
pigments 0.39.1
Quick-JavaScript 2.2.0
react 0.16.2
sync-settings 0.8.1
todo-show 1.11.0
Autocomplete or goto definition features are not working. (Tried uninstalling/installing multiple times.)
I'm having the same issue and I'm also using an umbrella project. Does this/alchemist support umbrella's?
@abhinavzspace @axelson When you open your project does it include _build folder? Because I have a project with 5 apps inside and it works well.
My problem is that the _build folder wasn't at the root of the currently open project folder. I opened apps/my_web_app as the project folder so that I could focus on only that project. If I open the root of the entire project everything works as expected.
@axelson I would suggest you to create a link from your project folder on ../../_build folder and then enjoy coding within single app.
It still does not work in my case. Umbrella project, build folder is there, I'm opening project from the root. I even removed build and re-compiled everything - go to definition does nothing. There are no alchemist errors except deprecation errors for som packages but also there is no alchemist-server init message.