commercialhaskell / stack-ide

Stack-based JSON interface to ide-backend
98 stars 23 forks source link

Add RequestSessionUpdate #15

Closed lukexi closed 9 years ago

lukexi commented 9 years ago

OK, I've got the stackified Sublime Text plugin up and running at https://github.com/lukexi/stack-ide-sublime/. It looks like Sublime Text's package manager requires packages to be at the root of their repository, so I didn't add it here. We could move the repo to the commercialhaskell umbrella, though.

I added an API call that triggers updateSession to work with the local-working-dir mode.

I'm sticking with just disabling buffering globally here rather than complicating things with a flag; let me know if you'd rather go with the flag approach (it would need to be plumbed through to stack's ide command as well).

There's also a small update needed to stack here to support the API call; I'll put it into a pull request for stack if everything above looks good. https://github.com/lukexi/stack/commit/73c71445064525b8fe98cd0fea6b47b4d1d1cf4d

chrisdone commented 9 years ago

Looks good!