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

Proposed changes #1

Conversation

axelson
Copy link

@axelson axelson commented May 21, 2021

Make to_pipe_at_cursor/3 public to facilitate testing. I think we
should still keep some integration-level testing, but I think the
majority of the test cases can be simplified. I didn't implement making
from_pipe_at_cursor/3 public, but I think it would make sense as well.

Introduce ElixirLS.LanguageServer.Protocol.TextEdit and return it from
to_pipe_at_cursor/3 and from_pipe_at_cursor/3

Add an example of a working simpler test, and add a few examples of
broken tests (as mentioned in elixir-lsp#521 (review))

Make `to_pipe_at_cursor/3` public to facilitate testing. I think we
should still keep some integration-level testing, but I think the
majority of the test cases can be simplified. I didn't implement making
`from_pipe_at_cursor/3` public, but I think it would make sense as well.

Introduce `ElixirLS.LanguageServer.Protocol.TextEdit` and return it from
`to_pipe_at_cursor/3` and `from_pipe_at_cursor/3`

Add an example of a working simpler test, and add a few examples of
broken tests (as mentioned in elixir-lsp#521 (review))
@polvalente polvalente merged commit 65ee05d into polvalente:fix/expose-manipulate-pipes-command May 21, 2021
@axelson axelson deleted the fix-expose-manipulate-pipes-command-changes branch May 21, 2021 22:06
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

Successfully merging this pull request may close these issues.

2 participants