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

Handle Multilined strings better #377

Open
sgehrman opened this issue Jan 25, 2024 · 2 comments
Open

Handle Multilined strings better #377

sgehrman opened this issue Jan 25, 2024 · 2 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@sgehrman
Copy link

final x = 'This is a double line string'
' with info.';

I select both lines and get this:

"thisIsADoubleLineStringWithInfo": "This is a double line string'\n ' with info.",

I'm using this to localize my app and it's great! Thanks for making it.

@lsaudon
Copy link
Owner

lsaudon commented Jan 26, 2024

Don't you find yourself with two apostrophes in your text?

Wouldn't it be better to use this ?

final x = '''First line
Second line''';

@sgehrman
Copy link
Author

I don't like that as I like lines indented. But this feature isn't so important. I just combine the string before converting. no problem.

@lsaudon lsaudon added the enhancement New feature or request label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants