Open bratfizyk opened 6 years ago
I am seeing this same problem on Ubuntu Mate with stack-run, intero, and, quickcheck installed globally.
It looks like ...
InteroLocationDecoder.js
(but I'm guessing) from the attached logfile.
haskelly.log/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:1411 INFO no standard startup: panel is active
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:276 [Extension Host] Trying new Intero for document /home/peter/Desktop/simple-yampa/app/Main.hs and workDir /home/peter/Desktop/simple-yampa/
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:1411 ERR read ECONNRESET: Error: read ECONNRESET
at _errnoException (util.js:1024:11)
at Pipe.onread (net.js:615:25)
log.ts:171 ERR Cannot read property 'slice' of null: TypeError: Cannot read property 'slice' of null
at InteroLocationDecoder.extractRange (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/InteroLocationDecoder.js:24:13)
at InteroLocationDecoder.buildLocation (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/InteroLocationDecoder.js:11:28)
at InteroLocationDecoder.decode (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/InteroLocationDecoder.js:6:21)
at HaskellDefinitionProvider.<anonymous> (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/Definition/index.js:24:47)
at Generator.next (<anonymous>)
at fulfilled (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/Definition/index.js:4:58)
at <anonymous>
log.ts:171 ERR Cannot read property 'slice' of null: TypeError: Cannot read property 'slice' of null
at InteroLocationDecoder.extractRange (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/InteroLocationDecoder.js:24:13)
at InteroLocationDecoder.buildLocation (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/InteroLocationDecoder.js:11:28)
at InteroLocationDecoder.decode (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/InteroLocationDecoder.js:6:21)
at HaskellDefinitionProvider.<anonymous> (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/Definition/index.js:24:47)
at Generator.next (<anonymous>)
at fulfilled (/home/peter/.vscode/extensions/ucl.haskelly-0.5.4/out/src/Providers/Definition/index.js:4:58)
at <anonymous>
Exact same problem here. Debian 9 x64, KDE. stack-run, intero and quickcheck installed locally.
% stack ghc -- --version
The Glorious Glasgow Haskell Compilation System, version 7.10.2
I do have the exact same problem. Here is the log that is created: https://pastebin.com/rKx4CNf5
Ditto, but sometimes it turns into a "Type not available."
Edit: Ah, it stays empty if the code is not fully correct. When it is, it'll show info on hover for local functions, but not for anything from (for example) Data.Text.
As presented in the picture - only a small, empty box appears with no content at all (see above "getArgs" function).
I use ghc 8.0.2, ghc-mod 5.8.0 and my OS is Linux Mint 19. I've just installed the dependencies (intero QuickCheck stack-run) as well. Am I missing anything ?