prokopiy / atom-autocomplete-erlang

Erlang autocomplete for Atom
https://atom.io/packages/atom-autocomplete-erlang
MIT License
4 stars 1 forks source link

Cannot make it work on Windows #2

Open mm-tfx opened 8 years ago

mm-tfx commented 8 years ago

I am trying to enable autocomplete for Erlang on my Windows computer but it is not working and I cannot get autocomplete for base Erlang functions. I have PATH set to erl, I have other required packages.

How I can debug to check what is going on?

prokopiy commented 8 years ago
  1. reload atom (Ctrl+Alt+R)
  2. please type your PATH here
  3. please type here result of erl -noshell -eval "io:format('~w~n', [io:module_info(exports)])" -s init stop in your command line (cmd)
mm-tfx commented 8 years ago

Reloading did not help.

PATH=C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\erl8.1\bin;C:\Program Files (x86)\Elm Platform\0.17.1\bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\Marcin\adb;C:\Users\Marcin\AppData\Local\atom\bin;C:\Users\Marcin\AppData\Roaming\npm;C:\Users\Marcin\AppData\Local\Microsoft\WindowsApps;C:\Program Files\erl8.1\bin

C:\Windows\System32>erl -noshell -eval "io:format('~w~n', [io:module_info(exports)])" -s init stop [{nl,1},{columns,0},{columns,1},{rows,0},{rows,1},{get_chars,2},{get_chars,3},{get_password,0},{get_password,1},{getopts,1},{setopts,1},{setopts,2},{write,1},{write,2},{read,1},{read,2},{read,4},{fwrite,1},{fwrite,2},{fwrite,3},{fread,2},{fread,3},{scan_erl_exprs,1},{scan_erl_exprs,2},{scan_erl_exprs,3},{scan_erl_exprs,4},{scan_erl_form,1},{scan_erl_form,2},{scan_erl_form,3},{scan_erl_form,4},{parse_erl_exprs,1},{parse_erl_exprs,2},{parse_erl_exprs,4},{parse_erl_form,1},{parse_erl_form,2},{parse_erl_form,3},{parse_erl_form,4},{request,1},{requests,1},{requests,2},{module_info,0},{module_info,1},{nl,0},{getopts,0},{put_chars,2},{get_line,2},{parse_erl_exprs,3},{read,3},{request,2},{get_line,1},{put_chars,1},{format,1},{format,2},{format,3},{printable_range,0}]

I'll try now on my Ubuntu computer.

mrkaspa commented 8 years ago

It doesn't work on OSX

mm-tfx commented 7 years ago

I am still trying to find out what could be the problem for this to work on Windows. Any suggestions?

prokopiy commented 7 years ago

Please write your project directory structure

mm-tfx commented 7 years ago

. ├── apps │   ├── eps │   │   ├── asn1 │   │   ├── doc │   │   ├── ebin │   │   ├── include │   │   ├── logs │   │   ├── src │   │   └── test │   └── eps_http │   ├── deps │   ├── ebin │   ├── elm │   ├── logs │   ├── priv │   ├── src │   └── test ├── ebin ├── log └── test

mm-tfx commented 7 years ago

Perhaps I should open another thread but I would like to mention that it works on my Ubuntu computer but sometimes my computer freezes while waiting for auto completion suggestions.