Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No code autocomplete or hover suggestions #79

Open
inexxt opened this issue Jun 7, 2018 · 7 comments
Open

No code autocomplete or hover suggestions #79

inexxt opened this issue Jun 7, 2018 · 7 comments

Comments

@inexxt
Copy link

inexxt commented Jun 7, 2018

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

  • Ubuntu 16.04 LTS
  • intero 0.1.31
  • Stack 1.6.5
  • VS Code 1.24.0

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
Copy link

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

  • Arch Linux
  • intero 0.1.31
  • stack 1.7.1
  • VSCode 1.23.1

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
Copy link

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

@dainslef
Copy link

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

@goekboet
Copy link

goekboet commented Jul 6, 2018

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
Copy link

ghost commented Jul 19, 2018

I have same issue.

@martrik
Copy link
Collaborator

martrik commented Jul 23, 2018

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
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants