haskelly-dev / Haskelly

Haskelly is a VS Code extension that provides complete support for casual and expert Haskell development.
https://marketplace.visualstudio.com/items?itemName=UCL.haskelly
GNU General Public License v3.0
152 stars 17 forks source link

No code autocomplete or hover suggestions #79

Open inexxt opened 6 years ago

inexxt commented 6 years ago

Hi, I'm having some problems with code autocomplete and hover suggestions.

As I hover over function, nothing but a small box appears (as in the picture below).

screenshot from 2018-06-07 03-31-37

Code autocompletion doesn't work at all.

I've already tried to reinstall intero/haskelly, with no effect.

(Everything else: testing, running stack etc works perfectly)

chipbuster commented 6 years ago

I installed this extension about 20 minutes ago and found the exact same problem.

I cannot install stack-run right now due to some resolver issues, but I don't expect that this would be the issue (let me know if I'm wrong!)

I also don't see anything of note in the dev console, just [Extension Host] Trying new Intero for document

littlebenlittle commented 6 years ago

I am having the same issue. No autocomplete and empty box when hovering. Follows the install instructions step-for-step

dainslef commented 6 years ago

I have same problem, both in Windows & Linux & macOS.

goekboet commented 6 years ago

I ran into this a couple of times. For me it worked on some files and not on others, though. Adding the module to the exposed-modules entry in my .cabal file solved this i my case:

library
  exposed-modules:
      Module1,
      Module2 -- When module 2 wasn't added empty box on hover 
  other-modules:
      Paths_haskell_book
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
  default-language: Haskell2010
ghost commented 6 years ago

I have same issue.

martrik commented 6 years ago

Hello! Sorry for the late reply, we're not really maintaining Haskelly very actively lately. Could you please provide any error message that you might see in the Developer Console (to open it go into the Commands Palette and type "Toggle Developer Tools").

littlebenlittle commented 6 years ago
INFO no standard startup: not a new window
console.ts:136 [Extension Host] Trying new Intero for document main.hs and workDir undefined
log.ts:171   ERR read ECONNRESET: Error: read ECONNRESET
    at exports._errnoException (util.js:1050:11)
    at Pipe.onread (net.js:581:26)