-
Notifications
You must be signed in to change notification settings - Fork 60
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
Issue71_147 configure ci, clean up lints #150
Conversation
yescorp
commented
Jan 19, 2023
- Resolves configure pre-commit #71
- Resolves Clean up lints #147
lib/src/folding/parsers/indent.dart
Outdated
final keys = _openBlocksLinesByIndent.keys.toList(); | ||
for (int i = keys.length - 1; i >= 0; i--) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final keys = _openBlocksLinesByIndent.keys.toList(); | |
for (int i = keys.length - 1; i >= 0; i--) { | |
for (final indent in _openBlocksLinesByIndent.keys.reversed) { |
?
Make an extension getter reversed
on Iterable. Make sure its .toList()
is non-growable.
https://medium.com/flutter-senior/always-use-non-growable-arrays-if-possible-4864a022a54a
//TODO(Malarg): handle scala multiline blocks | ||
//https://github.com/akvelon/flutter-code-editor/issues/78. | ||
// TODO(Malarg): handle scala multiline blocks | ||
// https://github.com/akvelon/flutter-code-editor/issues/78. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// https://github.com/akvelon/flutter-code-editor/issues/78. | |
// https://github.com/akvelon/flutter-code-editor/issues/78 |
Some IDEs may treat .
as a part of the URL.