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

Insert pipe character when editing multiline strings #865

Merged
merged 5 commits into from
Aug 21, 2019
Merged

Insert pipe character when editing multiline strings #865

merged 5 commits into from
Aug 21, 2019

Conversation

Karolina-Bogacka
Copy link
Contributor

@Karolina-Bogacka Karolina-Bogacka commented Aug 13, 2019

Partially solves #859. Doesn't work for copypasted strings yet, though.

The behaviour isn't identical to that demonstrated in gifs under issue #859. For now, before making a TextEdit, Provider checks whether there was a pipe in the last line, even, if it's the first line of the string. It doesn't yet add .stripMargin after the end of the string, either. So we might want to expand on that.

Copy link
Contributor

@mzarnowski mzarnowski left a comment

Choose a reason for hiding this comment

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

Left some minor suggestions

@tgodzik
Copy link
Contributor

tgodzik commented Aug 13, 2019

Checking this in VSCode - it seems doesn't yet work. We need to change some things.

…s. Doesn't work for copypasted ones yet, though.
@mzarnowski mzarnowski changed the title issue #859 fixup. insert pipe character when editing multiline string… insert pipe character when editing multiline strings Aug 20, 2019
@mzarnowski mzarnowski changed the title insert pipe character when editing multiline strings Insert pipe character when editing multiline strings Aug 20, 2019
@mzarnowski mzarnowski self-requested a review August 21, 2019 08:25
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.

3 participants