edelvalle / SuperElixir

This is a sublime plug-in that provide IDE like capabilities to sublime when working with the Elixir language.
GNU Lesser General Public License v3.0
31 stars 4 forks source link

Autocomplete doesnt work in all MyAppWeb sub modules #14

Open dokuzbir opened 6 years ago

dokuzbir commented 6 years ago

Autocomplete works in MyApp submodules. But doesnt work in MyAppWeb sub modules. What can cause that ?

Elixir 1.6.5

OSError: {'payload': None, 'request_id': 42, 'error': '/home/pc/.config/sublime-text-3/Packages/SuperElixir/elixir_sense/lib/elixir_sense/core/ast.ex:19: module MyAppWeb is not loaded and could not be found'} Traceback (most recent call last): File "/opt/sublime_text/sublime_plugin.py", line 672, in on_query_completions res = callback.on_query_completions(v, prefix, locations) File "/home/pc/.config/sublime-text-3/Packages/SuperElixir/super_elixir/autocomplete.py", line 35, in on_query_completions suggestions = sense.suggestions(buffer, line, column) File "/home/pc/.config/sublime-text-3/Packages/SuperElixir/super_elixir/sense_client.py", line 160, in suggestions column=column, File "/home/pc/.config/sublime-text-3/Packages/SuperElixir/super_elixir/sense_client.py", line 117, in _send_request raise IOError(data)

dokuzbir commented 6 years ago

When i try In MyAppWeb module i get smilar error for module Phoenix.Controller is not loaded. Problem looks about use when importing a module everything works but when i try to use i get these errors