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

Autocomplete and quick fix wont work #133

Closed
Fresheyeball opened this issue Oct 23, 2016 · 3 comments
Closed

Autocomplete and quick fix wont work #133

Fresheyeball opened this issue Oct 23, 2016 · 3 comments

Comments

@Fresheyeball
Copy link

Fresheyeball commented Oct 23, 2016

So, I was using ide-purescript and loving it, when some of its nicer features just stopped working. Notably:

  • autocomplete
  • quick fix
  • type inspection

Seem to have given up the ghost. Things I've tried:

  • rm -rf ~/.atom
  • rm -rf ~/.config/Atom
  • upgrading atom
  • updating ide-purescript
  • pursuit search
  • other's I may not have noticed yet

Right now there are no errors shown in the atom developer console and I'm at a loss.

image

I'm running Ubuntu 14.04 with

$ atom --version
Atom    : 1.11.2
Electron: 0.37.8
Chrome  : 49.0.2623.75
Node    : 5.10.0

and ide-purescript 0.14.10.

The Restart Psc Ide command also does not seem to have any observable effect. Beyond...
image
image

@nwolverson
Copy link
Owner

nwolverson commented Oct 23, 2016

Hi, seems there is a problem connecting to psc-ide-server. Oddly it seems like there is a failure to resolve localhost, maybe there is some network issue (at least inside Atom)?

Just to pin things down you can try the following:

  • Close Atom
  • echo -n 1234 > .psc-ide-port (in your project dir)
  • psc-ide-server --debug -p 1234
  • Open atom in your project dir

Don't know why quick-fix would fail, at least if it is for e.g. imports it should work if the build works (you have the squiggly underlines)

@nwolverson
Copy link
Owner

You might want to look and see if this could be the same as #115 if you've had some network change since this worked previously

@Fresheyeball
Copy link
Author

Ok. So I worked through this. My hosts file was all borked for some reason. Fixing the hosts file resolved the problem! So nothing to do with ide-purescript. I don't know how that happened. Sorry for bugging you, ide-purescript was just the first symptom of a system 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

2 participants