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

Cannot run extension on Windows #128

Open
Pzixel opened this issue Feb 26, 2020 · 7 comments
Open

Cannot run extension on Windows #128

Pzixel opened this issue Feb 26, 2020 · 7 comments

Comments

@Pzixel
Copy link

Pzixel commented Feb 26, 2020

I followed the instruction as it says: i've installed extension, idris, idrin, then restarted my shell processes, restarted VSCode but I get no autocompletion. It only says "Didn't load filename" and that's all.

I'm not sure what to do or what additional information I could provide.

image

@ninjazoete
Copy link

ninjazoete commented Apr 14, 2020

same here ;/

but I am on OSX

@malte-v
Copy link

malte-v commented Apr 15, 2020

Same issue on Linux.

@ChessMax
Copy link

I have the same problem either on Windows((

@raptazure
Copy link

That should be caused by type checking error. Hovering on anything or using idris repl to get the error message, fix it and this will go away.

@Pzixel
Copy link
Author

Pzixel commented Nov 6, 2020

  1. no, it's not related to error
  2. autocomplete should work when code doesn't compile otherwise it's useless. You started typing something and expect it to suggest some items, but atm code doesn't compile, you have some fooBa name which is not complete therefore is not a valid idris code.

@raptazure
Copy link

raptazure commented Nov 6, 2020

1. no, it's not related to error

2. autocomplete should work when code doesn't compile otherwise it's useless. You started typing something and expect it to suggest some items, but atm code doesn't compile, you have some `fooBa` name which is not complete therefore is not a valid idris code.

Mine (didn't load message) is caused by type error... Every time after fixing the bad code, it just goes away and loads successfully...

@RaoulSchaffranek
Copy link

Hi,

I had the same error. In my case, the ipkg-filename had a typo (it ended on .ipgk rather than on .ipkg).
After fixing the typo, I ran idris --checkpkg .\MyPackage.ipkg to make sure that Idris can read my package-file.
I then ran idris --clean .\MyPackage.ipkg (just in case).
After restarting VSCode, the annoying error-message was gone and the extension was working again.

Hope, it helps someone out there with the same problem.

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