halohalospecial / atom-elmjutsu

A bag of tricks for developing with Elm. (Atom package)
https://atom.io/packages/elmjutsu
MIT License
192 stars 24 forks source link

Datatips not available and autocomplete does not seem to work #125

Closed mm-tfx closed 6 years ago

mm-tfx commented 6 years ago

Hi,

Some of these great features offered by elmjutsu unfortunately stopped working for me. I cannot get Datatips, autocomplete works for my function but does not work for Elm packages functions.

Either I am doing something incorrect or there is something around Elm version. I am using Atom on Windows 10 and I am still on Elm 0.18

Please help troubleshooting.

Thanks.

halohalospecial commented 6 years ago

Hi, can I see the elmjutsu section of your ~/.atom/config.cson, (where ~/.atom is the Atom directory)?

mm-tfx commented 6 years ago
  elmjutsu:
    autocompleteSnippetsEnabled: true
    cacheDirectory: "C:\\Users\\qmarmik\\AppData\\Local\\Temp\\elmjutsu15884euDfRXbt2i1u"
    globalAutocompleteEnabled: true
    hyperclickEnabled: false
    showTypesInTooltip: true

I would like to mention that I am testing elm-jutsu witm Elm 0.19 and it works (really good.)

halohalospecial commented 6 years ago

Hi @mm-tfx, I couldn't reproduce the issue :( Can you perhaps provide a screen recording? I might be missing something.

miyamoen commented 6 years ago

Hi,

Autocomplete for dependencies packages does not work with package type elm.json , but it works well with application type elm.json.

With application

With package

I am using Atom on Windows 10 and on Elm 0.19 and elmjutsu 8.4.0

Thanks

halohalospecial commented 6 years ago

Thanks for the tip, @miyamoen! I'll fix it in the next release.

halohalospecial commented 6 years ago

@miyamoen, can you try v8.5.0? Thanks!

miyamoen commented 6 years ago

@halohalospecial, thanks for your quick work! I tried, it works well!

mm-tfx commented 6 years ago

I am trying the latest version and so for it does not work for me with Elm 0.18 However something is changed. Now I can see which functions are refered to (this was not shown before).

I am not sure how can I help here in trouble shooting. I am trying to type Html. and then I am waiting for proposals for autocomplete but nothing happens.

On the other computer with Windows 10, Elm 0.19 it works.

AdditionalIy noticed that there is a problem with fetching packages from Elm packages web site. I cannot install package fro Atom itself using elm-jutsu.

Error message: Failed to get list of packages from http://package.elm-lang.org

Could you please check this as well?

mm-tfx commented 6 years ago

image

This is a picture when it works like intended.

halohalospecial commented 6 years ago

@mm-tfx, have you tried using Elm 0.18 in the other computer (where Elmjutsu works with Elm 0.19)? There might be a configuration issue somewhere.

As for Install Package and Uninstall Package, I created an issue here: #128. The structure of the JSON returned by http://package.elm-lang.org changed when Elm 0.19 was released.

mm-tfx commented 6 years ago

I agree. There might be configuration issue. There are some other problems with having both Elm versions on Windows machine.

I think I will switch completely to Elm 0.19 very soon. I guess that would be the case for most of users. With Elm 0.19 the tool works great so perhaps it is not worth to troubleshoot this further.

ababup1192 commented 6 years ago

Hi

Autocomplete for dependencies packages does not work in tests directory.

2018-09-03 16 47 46

https://github.com/halohalospecial/atom-elmjutsu/issues/125#issuecomment-417901553

I use Elm 0.19 and elmjutsu 8.5.0.

halohalospecial commented 6 years ago

Hi @ababup1192, is it okay if you create a new issue for that for easier tracking? :slightly_smiling_face:

ababup1192 commented 6 years ago

Hi @halohalospecial, OK, I create #130 .

halohalospecial commented 6 years ago

Thanks, @ababup1192! I'll check it later.