Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Upgrade to lsp-test-0.11 #566

Merged
merged 1 commit into from May 17, 2020
Merged

Conversation

lukel97
Copy link
Collaborator

@lukel97 lukel97 commented May 15, 2020

lsp-test-0.11 has replaced openDoc' with createDoc which sends out workspace/didChangedWatchedFiles notifications, so the wrapper in #322 shouldn't be needed anymore

hie.yaml Outdated
@@ -1 +1,6 @@
cradle: {stack: {component: "ghcide:lib"}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure you meant to commit this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, I did not. But it is useful for working on the tests. Would anyone object to a separate PR for this?

@mpickering
Copy link
Contributor

One comment. Otherwise looks good.

Replace openDoc' with createDoc which sends out
workspace/didChangedWatchedFiles notifications
Copy link
Collaborator

@cocreature cocreature left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks! I find it slightly confusing that createDoc does not write the file to disk but our wrapper before didn’t do that either so that’s a separate discussion.

@cocreature cocreature merged commit cd6f62b into haskell:master May 17, 2020
@lukel97
Copy link
Collaborator Author

lukel97 commented May 17, 2020

Indeed. Whilst I was creating it I thought it would be more transparent to have lsp-test implement an actual filesystem watcher, and have the test suite create physical files

pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
Replace openDoc' with createDoc which sends out
workspace/didChangedWatchedFiles notifications
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
Replace openDoc' with createDoc which sends out
workspace/didChangedWatchedFiles notifications
pepeiborra pushed a commit to pepeiborra/ide that referenced this pull request Dec 29, 2020
Replace openDoc' with createDoc which sends out
workspace/didChangedWatchedFiles notifications
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants