zjhmale / vscode-idris

Idris for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=zjhmale.Idris
BSD 3-Clause "New" or "Revised" License
106 stars 21 forks source link

`idris.typecheck` command stops working #118

Open ruippeixotog opened 7 years ago

ruippeixotog commented 7 years ago

I'm trying to move from Atom to vscode for Idris development, but I'm having a problem with the idris.typecheck command.

I'm used to run it frequently after I write some function to check if everything is ok. However, the command seems to stop working randomly - sometimes it's after a while, sometimes I can't use it from the beginning. The "Idris: Type checking" label below stops being updated, even in small files when I fix or add a trivial error, and manually executing the command seems to do nothing.

I can only force the type checker to run again after I use other command such as type-of or add-clause. This is annoying, since I have to move the cursor to an identifier to run one of these commands.

The only setting I have overridden is "idris.warnPartial": true.

zjhmale commented 7 years ago

Hmm, I think some parts of the type-checking command is over designed, let me review it later, thx for reporting.

zjhmale commented 7 years ago

Oh, BTW, which platform are you playing with Idris, Windows, OSX or a concrete Linux distribution?

ruippeixotog commented 7 years ago

I'm using macOS Sierra 10.12.5. Let me know if you need some vscode logs for debugging.

czhang03 commented 7 years ago

There is the same issue on windows

GoNZooo commented 6 years ago

Same issue on Archlinux (uname -sr = Linux 4.14.12-1-ARCH)

ruippeixotog commented 6 years ago

Hi @zjhmale, have you had a chance to review the type-checking code? It would be great if you could give it a look and fix the issue, as it would finally allow me to ditch Atom - this plugin works perfectly for Idris development apart from this. Thanks!

corazza commented 6 years ago

Same here. Fedora (4.17.12-200.fc28.x86_64)

NickSeagull commented 5 years ago

Same here, Ubuntu 18.04 under WSL:

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic